Hi All,
So to make an educated purchase for a home battery next year, I am simulating various battery types and sizes via the battery_sim HACS integration.
However, on cloudy days, I want to boost the efficiency of the batteries by changing the battery mode to "Force charge" when;
- *The current energyprice is at the lowest 10% of the day *AND the predicted solar power rest of the day is lower than 7
It needs to put the battery mode back to default if;
-- *The current energyprice is at higher than 10% of the day *OR the predicted solar power rest of the day is higher than 7
Now, I have tried in a few ways, but it never works, not returning to default mode, or changing to force charge if only 1 of the 2 requirements are met.
Question;
Any tips on how to use the AND and OR stattements correctly??