Hi,
one of my sensors seems to stopped working with some of the latest updates.
sensor:
- platform: time_date
display_options:
- 'time'
- platform: history_stats
name: Brenner History
entity_id: switch.brenner
state: 'on'
type: time
start: '{{ 0 }}'
end: '{{ now() }}'
- platform: template
sensors:
brenner_laufzeit:
friendly_name: 'Brenner Laufzeit'
value_template: "{{ state_attr('sensor.brenner_history', 'value') }}"
There are no log entrys and the sensor stays on „unknown“.
Last time it definitely worked was in May.
OK, i just saw that the history sensor is working fine, but the Laufzeit inside the UI its just unknown instead of x minutes. So I guess it has something to do with the value template.