mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-12 22:17:17 +02:00
fix #468 MQTT status at sunset
This commit is contained in:
parent
3c6e3221e8
commit
9da0fc4058
8 changed files with 222 additions and 138 deletions
|
@ -134,7 +134,7 @@
|
|||
e.addEventListener("click", setTime);
|
||||
}
|
||||
|
||||
if(!obj["ts_sun_upd"]) {
|
||||
if(0 == obj["ts_sunrise"]) {
|
||||
var e = document.getElementById("sun");
|
||||
if(null != e)
|
||||
e.parentNode.removeChild(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue