dotsam / homebridge-milight

MiLight/LimitlessLED/Easybulb Plugin for Homebridge
MIT License
63 stars 12 forks source link

Send fewer "on" commands #18

Closed dotsam closed 7 years ago

dotsam commented 7 years ago

We should be able to keep track of the last bulb (type + zone) we sent a command to, and not re-send the "on" command if we're not targeting a different bulb with the next command. This means one less command in the queue, which should make all subsequent commands faster.