This doesn’t work after the update - because the value attribute has been removed.
Does anyone have any Jinja code I can use to convert the state of this sensor back to a hh:mm format ?
- platform: history_stats
name: Heating Run Time Today
entity_id: switch.house_boiler
state: "on"
type: time
start: "{{ now().replace(hour=0,minute=0,second=0) }}"
end: "{{ now() }}"
It explains why value was removed - but the only example code in there, converts the value to minutes. I need some code to get hours and minutes. Thanks for the pointer though.