Getting all ZHA devices

In older HA versions, it was possible to get all ZHA devices with

{{ states.zha|list }}

but it seems that the zha.* entities have been dropped in new HA versions.
Is there any other way to get the list of ZHA devices?

This is great question. I would like to know that as well.

No answer yet. I think it is not possible to get the list of devices any more, you can only get a list of entities with {{ states|list }}

What is the use case for this? There are web socket commands that return this…

Hi David, one usecase: an automation which regularly checks the battery state of zigbee devices. Another usecase: a reporting script generating a maintenance list of the zigbee devices.