Skip to content

Commit

Permalink
stringify default value of xy
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Feb 26, 2022
1 parent b8aa156 commit 58c8134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -2168,7 +2168,7 @@ async function SetObjectAndState(id, name, type, stateName, value) {
case 'xy':
objType = 'array';
objRole = 'color.CIE';
objDefault = [0.1,0.1];
objDefault = '[0.1,0.1]';
value = JSON.stringify(value);
break;
case 'alarm':
Expand Down

0 comments on commit 58c8134

Please sign in to comment.