-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added new scheduling API command `Scheduling.Templates` to get the list of available preset actions templates - Added italian translations for scheduling wizard
- Loading branch information
Showing
15 changed files
with
193 additions
and
194 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
assets/build/all/app/assets/editor/templates/scheduler/command.set-color.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
assets/build/all/app/assets/editor/templates/scheduler/command.set-level.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
assets/build/all/app/assets/editor/templates/scheduler/command.thermostat-mode.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
assets/build/all/app/assets/editor/templates/scheduler/command.turn-off.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
assets/build/all/app/assets/editor/templates/scheduler/command.turn-on.js
This file was deleted.
Oops, something went wrong.
160 changes: 0 additions & 160 deletions
160
assets/build/all/app/assets/editor/templates/scheduler/index.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
assets/build/all/app/assets/editor/templates/scheduler/program.run.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
assets/build/all/app/assets/editor/templates/scheduler/program.say.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
assets/build/all/app/assets/scheduler/preset-actions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
[ | ||
{ | ||
"id": "command_turn_on", | ||
"script": "$$.boundModules.on();\n" | ||
}, | ||
{ | ||
"id": "command_turn_off", | ||
"script": "$$.boundModules.off();\n" | ||
}, | ||
{ | ||
"id": "command_set_level", | ||
"script": "$$.boundModules.level = $level$;\n", | ||
"config": { | ||
"level": { | ||
"type": "slider", | ||
"options": { | ||
"min": 0, | ||
"max": 100, | ||
"step": 1 | ||
}, | ||
"value": 0 | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "command_set_color", | ||
"script": "$$.boundModules.colorHsb = '$color$';\n", | ||
"config": { | ||
"color": { | ||
"type": "color", | ||
"value": "#ff0000", | ||
"transform": "rgb:hsb" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "command_thermostat_mode", | ||
"script": "$$.boundModules\n .command('Thermostat.ModeSet')\n .submit('$mode$');\n", | ||
"config": { | ||
"mode": { | ||
"type": "select", | ||
"options": [ | ||
{ | ||
"id": "off", | ||
"value": "Off" | ||
}, | ||
{ | ||
"id": "heat", | ||
"value": "Heat" | ||
}, | ||
{ | ||
"id": "heat_eco", | ||
"value": "HeatEconomy" | ||
}, | ||
{ | ||
"id": "cool", | ||
"value": "Cool" | ||
}, | ||
{ | ||
"id": "cool_eco", | ||
"value": "CoolEconomy" | ||
} | ||
], | ||
"value": "Off" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "program_run", | ||
"script": "$$.program.run('$program$', '$options$');\n", | ||
"config": { | ||
"program": { | ||
"options": { | ||
}, | ||
"type": "program-select", | ||
"value": 0 | ||
}, | ||
"options": { | ||
"options": { | ||
"maxLength": 200 | ||
}, | ||
"type": "text", | ||
"value": "" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "program_say", | ||
"script": "$$.program.say('$message$');\n", | ||
"config": { | ||
"message": { | ||
"options": { | ||
"maxLength": 200 | ||
}, | ||
"type": "text", | ||
"value": "" | ||
} | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ts/build/all/app/main.e731d91cd2efa567.js → ...ts/build/all/app/main.f9f19d3de6ada0f8.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.