HA loses state of Zigbee devices after restart

This started happening in the last month or so, not earlier. Zigbee devices (bulbs, so - these are all routers) are Unknown after reboot until the state changes. It doesn’t remember the last state.

HA (HAOS) 2024.11.2, Zigbee devices used via Zigbee2MQTT 1.41-0.1 and EMQX 0.7.2 as MQTT broker.

Any tips? Thanks.

This is normal for Zigbee, at least for end devices, and very familiar to ZHA users. The co-ordinator can’t poll battery-powered devices, it has to wait for them to check in. It can sometimes take an hour or so for them all to show a value.

I’m not familiar with Z2M - does the MQTT part normally retain pre-reboot values? Maybe there have been changes there?

It should never happen to routers, though.

No, this is new behavior. These are all routers. I’ll add that to the post.