Hello People,
I am hitting a wall with converting the time format. i have a sensor: sensor.power_highest_peak_time_today
Which gives: 2022-10-23T11:00:00+00:00
I only need and want is the 11:00
I am new with python en coding in HA but this i tried but dit not work
{% set dt = states('sensor.power_highest_peak_time_today') %}
{% time = dt.strftime("%H:%M:%S") %}
{{ time }}
Please help