Power off.
This commit is contained in:
parent
6eff2e6e74
commit
557a2f08f7
@ -1444,6 +1444,11 @@ function togglePower()
|
||||
{
|
||||
isOn = !isOn;
|
||||
var obj = {"on": isOn};
|
||||
if (isOn && lastinfo && lastinfo.live && lastinfo.liveseg>=0) {
|
||||
obj.live = false;
|
||||
obj.seg = [];
|
||||
obj.seg[0] = {"id": lastinfo.liveseg, "frz": false};
|
||||
}
|
||||
requestJson(obj);
|
||||
}
|
||||
|
||||
|
3316
wled00/html_ui.h
3316
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user