light.hue.on/off wants an array
This commit is contained in:
parent
a3fbce1082
commit
fa4ed7c95c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue