ioBroker / ioBroker.rflink

Support of RFLink
MIT License
11 stars 11 forks source link

milight switch not respected #11

Open meks007 opened 6 years ago

meks007 commented 6 years ago

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 + ';';