Hey gang
I have a binary sensor that is “on” or “off”
How would i go about calculating 2 numeric template sensors (based on time) - one that calculates a number of minutes in a 24hr period the sensor is “on” and another that calculates a number of minutes it is “off” in the same 24h period???
I truly dont know how to approach this…