|
@ -542,6 +542,11 @@ function doDebugCommand() { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function doDebugClear() { |
|
|
|
|
|
$("#weblog").text(""); |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// Visualization
|
|
|
// Visualization
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// -----------------------------------------------------------------------------
|
|
@ -1006,14 +1011,6 @@ function processData(data) { |
|
|
useWhite = value; |
|
|
useWhite = value; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ("colorVisible" === key) { |
|
|
|
|
|
$(".button-add-light-schedule").show(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ("relayVisible" === key) { |
|
|
|
|
|
$(".button-add-switch-schedule").show(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
// ---------------------------------------------------------------------
|
|
|
// Sensors & Magnitudes
|
|
|
// Sensors & Magnitudes
|
|
|
// ---------------------------------------------------------------------
|
|
|
// ---------------------------------------------------------------------
|
|
@ -1329,6 +1326,7 @@ $(function() { |
|
|
$(".button-ha-config").on("click", doHAConfig); |
|
|
$(".button-ha-config").on("click", doHAConfig); |
|
|
$(".button-dbgcmd").on("click", doDebugCommand); |
|
|
$(".button-dbgcmd").on("click", doDebugCommand); |
|
|
$("input[name='dbgcmd']").enterKey(doDebugCommand); |
|
|
$("input[name='dbgcmd']").enterKey(doDebugCommand); |
|
|
|
|
|
$(".button-dbg-clear").on("click", doDebugClear); |
|
|
$(".button-settings-backup").on("click", doBackup); |
|
|
$(".button-settings-backup").on("click", doBackup); |
|
|
$(".button-settings-restore").on("click", doRestore); |
|
|
$(".button-settings-restore").on("click", doRestore); |
|
|
$(".button-settings-factory").on("click", doFactoryReset); |
|
|
$(".button-settings-factory").on("click", doFactoryReset); |
|
|