YAML=Yet Another Malfunction for Little me ;(
I have an oilburner, and i would like to track the time its running. Ive put a shelly plus1pm on it, witch is always “ON”. The plan is to use “History stats” to keep track of time when the burner is drawing power. I`ve created a sensor (from instructions in a youtube video):
platform: history_stats
type: time
name: tid oliefyr
entity_id: sensor.oliefyr_switch_0_power
state: “on”
start: “{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}”
end: “{{ now() }}”
But i can`t get it to work
I would like to start the “timer” when the power is above 10w
YAML is like chinese to me, but believe that it`s learning by doing
My Shelly device is always ON, and i want the history stats sensor to keep track of the time when the power drawn by the burner is above 10 watts.
Don`t know if it makes sense ?