Troon
(Troon)
January 16, 2024, 1:42pm
2
Firstly, please format your code correctly:
Before we begin…
This forum is not a helpdesk
The people here don’t work for Home Assistant, that’s an open source project. We are volunteering our free time to help others. Not all topics may get an answer, never mind one that helps you solve your problem.
[image]
This also isn’t a general home automation forum, this is a forum for Home Assistant and things related to it. Any question about Home Assistant, and about using things with Home Assistant, is welcome here. We can’t help you with e…
Your template appears to output the Shelly power figure if it’s above zero, and 0
if it is below zero. Your graph shows the Shelly at -168W, so the template should be outputting zero.
Looks to me like it’s doing what you asked it to…