Skip to content

Commit

Permalink
Reverse scheduleron
Browse files Browse the repository at this point in the history
  • Loading branch information
mattreim committed Nov 3, 2024
1 parent 44ad0ac commit 2e3114a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2966,13 +2966,18 @@ async function SetObjectAndState(id, name, type, stateName, value) {
objDefault = "{}";
value = JSON.stringify(value);
break;
case "schedule_on":
objType = "boolean";
objRole = "switch";
break;
case "scheduler":
objType = "string";
objRole = "state";
break;
case "schedule_on":
case "scheduleron":
objType = "boolean";
objRole = "switch";
objRole = "state";
objWrite = false;
break;
case "setvalve":
objType = "boolean";
Expand Down

0 comments on commit 2e3114a

Please sign in to comment.