-
Notifications
You must be signed in to change notification settings - Fork 6
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
multiple bulbs can be acted discordantly #21
Labels
enhancement
New feature or request
Comments
In version 2.0.0 the switch keeps track of bulb status, obtained from discovery process. Still, the issue is present. A more reliable way would be to send clear ON/OFF commands instead of toggling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the switch just sends toggle events without consulting bulbs status, the result depends on the initial state of the bulbs. It is thus possible to have with single button click turn one bulb on and another off. This is somewhat unexpected behavior. It would be better to synchronize bulb status on boot + have some logic if one of the bulbs was flipped manually ever since. The fix likely depends on issue #11.
The text was updated successfully, but these errors were encountered: