light.hue.on/off wants an array

This commit is contained in:
Fabio Manganiello 2018-04-09 01:53:25 +02:00
parent a3fbce1082
commit fa4ed7c95c

View file

@ -339,7 +339,7 @@ $(document).ready(function() {
args: {} args: {}
}; };
args['args'][key] = name; args['args'][key] = [name];
execute(args, function() { execute(args, function() {
$lightItem.data('on', !isOn); $lightItem.data('on', !isOn);
refreshStatus(); refreshStatus();