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
1 changed files with 1 additions and 1 deletions

View File

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