Dearest community,
I am using history_stats on a sensor to track how long it has been on.
However, this sensor is measuring watts. When it is off, it uses around 3W and when it is on, it uses 1500W (can be explained by the device nature).
How to use history_stats
to ask it to count the time when the sensor state is higher than 5W?
Thanks to all!