implemented autorefresh

This commit is contained in:
schrom01
2022-08-25 15:37:54 +02:00
parent 1066adcc63
commit ba3afd129d
10 changed files with 249 additions and 12 deletions
-7
View File
@@ -1,8 +1 @@
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'))
}