I want my automation to notify me when my solar have stopped producing every night.
Notification needs to give me produced electricity, sold and imported.
Everything works great if i put below 1 kWh (below: ‘1’) but my solar panels will produce under 1kwh a few hours so I want it to be “below: 0” but that does not work, I tried 0.1 and that will not work.
How can a make it work with 2 or 3 decimals? Like 0.100? or even better just with 0.
I have other automations that i want this to work on, it just works on 1, 2. 3. 4. and so on, no decimals.
Use a template and convert your sensor to watt (I added a “for” so in this case the automation will trigger if the power is below 1 watt for 10 minutes) :
I would not use a template with == 0 for solar panels because during the night, the inverters are consuming electricity (instead of producing some)… So the power will be slightly negative… at the limit, I would use “<= 0” instead of “==0”…
I also have a norpool automation, and want it to notify when spotprice are low and high, but same problem here.
But i guess i need to make a similar template to get this working?