Hi Iam using hassio I would like to see in different format the time, but I could not set the right template, maybe somebody can help on this.
The time is show in this fromat : 2.41 h, but I would like to see in this format 2:24
Is that posibbile to write sach template ?
- platform: history_stats
name: Boiler On Duration
entity_id: switch.boiler
state: ‘on’
type: time
start: ‘{{ now().replace(hour=12).replace(minute=0).replace(second=0) }}’
duration:
hours: 24
value_template: '{{ states.sensor.boiler_on_duration.attributes.value }}
’
Thx !