-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Innr RB 250C does not support enhancedHue #1040
Conversation
|
Not all device support enhancedMoveToHue, enhancedMoveToHueAndSaturation... we add a new option to indicate support. We assume the default is yet.
forced pushed a lint fix |
@Koenkk do we want to read Perhaps we should also query colorMode itself too. |
PR looks fine to me, Which read do you mean? |
The one in convertGet |
Yes, it the same logic should also be added there. |
Done, I added |
Thanks! |
I noticed a while ago that the Innr RB 250C did not support the
enhancedHue
and friends command.It does however support the generic
moveToHue
,moveToSaturation
, andmoveToHueAndSaturation
commands. I never figured out how to till the converter how to deal with this until I saw youroptions.applyRedFix
.This PR introduces
options.enhancedHue
, I set this tofalse
for the Innr RB 250C (probably other Innr bulbs would need it too, but I don't own those so I couldn't test).I thought this would be less disruptive than setting
options.enhancedHue
totrue
for all existing bulbs. I then added an extra branch to the if and case statements in light_color toZigbee converter to make it do the right thing.