Strange issue with time

I have a sensor which displays the time of the last updated, but it seems like the time is always 1 hour behind:

the sensor was updated at 23:30 (2 minutes ago) but is still displayed as 22:30, what’s that?

  - platform: template
        friendly_name: "Door Bell Rang:"
        value_template: '{{states.sensor.doorbell_mqtt.last_updated.strftime("%d/%m %H:%M") }}' 

timezone and\or datetime is correct on both system and hass.

Daylight Saving Time?

Timestamps are in UTC and you are probably in Europe :slight_smile:

Try this:

{{ as_timestamp(states.sensor.doorbell_mqtt.last_updated) | timestamp_custom("%d/%m %H:%M") }}

and see here for more functions:

Aye… works.

thanks :slight_smile: