multiple bulbs can be acted discordantly
denis-stepanov opened this issue · 1 comments
denis-stepanov commented
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 commented
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.