Finding disconnected zigbee devices (ZHA)

After a partially unsuccessful migration (ConBee II after hardware change), it seems that missing zigbee devices are stopping my automations from loading. The error logs give me the device id, but I’ve not found a way of listing devices by device id.

(1) How can I list devices by device id, or find devices that are no longer seen by the zha integration?

(2) What’s the best way of disabling these devices, so I can pair them again later? I have tried to disable the device (‘disabled by user’) but that doesn’t (always?) seen to help.

Many thanks!

Go to entities list and filter by integration “ZigBee” and state “unavailable”, group by device. Then select some entity and go from there to the corresponding device, then you can delete the device from HA:

Edit you may have to wait before a Zigbee device becomes “unavailable”, for battery powered devices up to 6 hours

You could also try the Spook integration, which will notify you if any device in an automation or dashboard is missing.

Thank you for that comment - very much appreciated. I’m not completely sure, but it seems that the entities that cause problems with hass can’t be found that way. I do have that listing, but the IDs associated with those entities aren’t the ones stopping hass from restarting or stop the automations from loading.

Thank you for this also, the integration looks very good. However, I didn’t have HACS, and because of the issues with the system, it seems I cannot install HACS properly. (I got some way with it, by enabling ssh, and using the shell-based ‘ha core’ commands, but it doesn’t look like HACS has installed.)

Is there nothing in the docs to help?

I think the issue with HACS was because of my semi-broken installation.

In the end, I enabled ssh, and obtained core.entity_registry, exporting this into a tsv with entries like

54:ef:44:10:00:53:c8:d8-1-1280  54ef44100053c8d8-1-1280 living room Iaszone

Then, when hass complains (with the uuid), I could easily identify devices like that. I’ll update ConBee II after hardware change as well.