Does anyone have a definitive guide to how to enable the last_seen attribute of a device in Zigbee2mqtt?
I’ve read numerous posts that say “oh just add this, or just add that”
example:
or
As far as I can tell, that would set the date and time format to local time for the last_seen attribute , but how does that then enable it and where specifically does this need to be added?
I enabled simple availability in my Zigbee2mqtt and now have all my devices showing their availability:
@francisp
I too have a device that has “Last seen: N/A”. I have the Z2M add-on in HA.
The device can be controlled from the Z2M add-on, but pressing the on/off button on the device itself doesn’t change the state in the Z2M dashboard, let alone in HA.
The device is an innr SP240 smart plug, I just installed firmware 1.9.27 with firmware build date 20250127:
Is this state reporting malfunction due to the “last seen: N/A” issue?