Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

History_stats - compare state to value

$
0
0

@mgim wrote:

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!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles