[Bug]: can't enable "last seen" in Zigbee2mqtt.
What happened?
When I go into Zigbee2MQTT settings and try to enable the "last seen" toggle, it throws an error. It doesn't matter which type I use to enable. It does not matter what browser I use either.
File and screenshot attached.
What browsers are you seeing the problem on?
Chrome
Relevant stacktrace
**Current url**: http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/#/settings/settings
**Previous url**: http://homeassistant:8123/zigbee2mqtt2
**Error type**: TypeError
**Error message**: Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
at Object.entries (<anonymous>)
at r (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-4e00f6e9.js:53:9630)
at r (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-4e00f6e9.js:53:9692)
at lUe (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-4e00f6e9.js:53:9732)
at Se.onSettingsSave [as onSubmit] (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-b5a4d188.js:1:8583)
at e.<anonymous> (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/bootstrap-5.esm-b480a4c5.js:11:47737)
at lD (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-4e00f6e9.js:41:9885)
at SD (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-4e00f6e9.js:43:31876)
at K5 (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-4e00f6e9.js:43:31458)
at K5 (http://homeassistant:8123/api/hassio_ingress/0l4O3JxSkQt8T7xWqziHjmvw87gsjuEsm33FjicWfMA/assets/index-4e00f6e9.js:43:31368)
Did you download state.json.zip?
I will attach state.json.zip
Same thing happens to me while trying to enable "last seen". Chrome Browser, HAOS 2025.8.3 (16.1), Z2M 2.6.0
Same here. Exact same setup, using a Conbee II dongle. Attaching zip. It doesn't even matter if I change any value. Just pressing save in the "Advanced" tab gets me here.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.