zigpy / zha

Zigbee Home Automation
Apache License 2.0
26 stars 25 forks source link

Track device and group bindings #114

Open dmulcahey opened 3 months ago

dmulcahey commented 3 months ago

We should keep track of all bindings created by users. Should we implement this in Zigpy and store in zigbee.db? We should also provide APIs to display all bindings of each type and we should expose management screens in HA.

EraYaN commented 1 week ago

This would be greatly appreciated, it can be tricky to verify a binding action worked. Would be even nicer if ZHA could take a deterministic list of bindings and unbind/bind whatever required. So we can just tell it what we want the final config to be and it goes and figures it out. zha-toolkit has a service to list all current bindings which could be used to seed the database and figure out if say remotes have lost their stuff after a battery replacement.