Does anyone know a template for how to count the number of Zigbee devices connected, or paired even (including unavailable)?
I use zibee2mqtt and looking at my devices, only the attribute of linkquality exists.
Is this the best approach? or is there some built-in function or sensor I can use?
Same for Zwave I guess