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

Always set white inputValue to 0 #778

Merged
merged 1 commit into from
Apr 11, 2018
Merged

Always set white inputValue to 0 #778

merged 1 commit into from
Apr 11, 2018

Conversation

Skaronator
Copy link
Contributor

I've noticed the inputValue can get out-of-sync if the user switch between _light_use_white true and false. The out-of-sync value would be saved on reboot and is therefor also persistent. And MQTT light would always send wrong data for this channel.

@xoseperez xoseperez merged commit 9dd2d3c into xoseperez:dev Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants