implemented actions get_zone_list and get_pipeline

This commit is contained in:
schrom01
2022-08-23 23:47:43 +02:00
parent 8c861b3cbd
commit 2747b79f37
5 changed files with 109 additions and 61 deletions
+8
View File
@@ -0,0 +1,8 @@
function executeActionByValueID(command, index, valueID, valueFactor){
var value = document.getElementById(valueID).value * valueFactor;
executeAction(command, index, value);
}
function switchZoneMode(autoMode, zone) {
executeAction('switch_zone_mode' ,zone, (autoMode ? 'automatic' : 'manual'))
}