Skip to content

Commit

Permalink
Add object: gesture
Browse files Browse the repository at this point in the history
  • Loading branch information
mattreim authored Feb 22, 2024
1 parent 57255b7 commit d351c5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2527,6 +2527,7 @@ async function SetObjectAndState(id, name, type, stateName, value) {
objType = "number";
objRole = "state";
objWrite = false;
objDefault = 0;
buttonEvents(`${type}.${id}.buttonevent`, value);
break;
case "boost":
Expand Down Expand Up @@ -2727,6 +2728,11 @@ async function SetObjectAndState(id, name, type, stateName, value) {
objUnit = "°C";
value = value / 100;
break;
case "gesture":
objType = "number";
objRole = "state";
objWrite = false;
objDefault = 0;
case "group":
objType = "number";
objRole = "state";
Expand Down

0 comments on commit d351c5a

Please sign in to comment.