zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

last_Seen value different in HA

Open illivanillie opened this issue 5 years ago β€’ 0 comments

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

illivanillie avatar Sep 23 '21 22:09 illivanillie