Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh devices when they announce themselves #345

Merged
merged 2 commits into from
Dec 24, 2018

Conversation

cdjackson
Copy link
Contributor

This adds a ZigBeeAnnounceListener to detect if the device has potentially been reset, and will refresh the thing state through restarting the polling. This means that the binding will update a bulb state if it was powered off/on again, as requested in #261.

Closes #261

Signed-off-by: Chris Jackson [email protected]

@cdjackson cdjackson merged commit a4cb865 into openhab:master Dec 24, 2018
@cdjackson cdjackson deleted the reinit_bulbs_on_anounce branch December 24, 2018 20:46
@cdjackson cdjackson added this to the 2.5 milestone Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support restoring state of bulbs on reconnect
1 participant