happyleavesaoc / python-limitlessled

MIT License
33 stars 22 forks source link

Fix brightness/temperature for CommandSetWhiteV6 #36

Closed amelchio closed 6 years ago

amelchio commented 6 years ago

Fixes #20 as suggested in https://github.com/home-assistant/home-assistant/issues/12907#issuecomment-370455844

I have tested this with a dual-white bulb FUT017 paired to a virtual remote FUT007.

(Note: my bulb also pairs to e.g. the FUT092 virtual remote and actually works rather better as CommandSetRgbwwV6 because the single-stepping is not used. However, I am not sure that all dual-white bulbs will do this pairing.)