zigbee2mqtt
zigbee2mqtt copied to clipboard
last_Seen value different in HA
What happened
last_seen value in HA is exactly one day and one hour βtoo muchβ.
In the z2mqtt UI it shows 30 minutes ago but with this template in HA it shows 1 day, 1 hour and 30 minutes
B1: {{ (as_timestamp(now()) - as_timestamp(state_attr('sensor.verstarker_b1_linkquality', 'last_seen'))) | timestamp_custom('%dd %Hh %Mm') }}
What did you expect to happen
To show the same value
How to reproduce it (minimal and precise)
With the template above