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

milight switch not respected #11

Open
meks007 opened this issue Feb 25, 2018 · 0 comments
Open

milight switch not respected #11

meks007 opened this issue Feb 25, 2018 · 0 comments

Comments

@meks007
Copy link

meks007 commented Feb 25, 2018

hi,

in main.js line 205 you simply add switch 00 to the command instead of taking whatever switch issues the command. by issuing 00 you command all switches within the current ID to change.

currently it is:
command += '00;3c00;' + value + ';';

i propose it to be:
command += states[id].native.switch + ';3c00;' + value + ';';

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

No branches or pull requests

1 participant