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

multiple bulbs can be acted discordantly #21

Open
denis-stepanov opened this issue Sep 19, 2019 · 1 comment
Open

multiple bulbs can be acted discordantly #21

denis-stepanov opened this issue Sep 19, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@denis-stepanov
Copy link
Owner

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.

@denis-stepanov denis-stepanov added the enhancement New feature or request label Sep 19, 2019
@denis-stepanov
Copy link
Owner Author

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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant