1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Disabled ecobee down notification on the demo

This commit is contained in:
Jon Ziebell 2023-10-20 07:59:34 -04:00
parent 5c061be288
commit 566e27fb45

View File

@ -16,7 +16,10 @@ beestat.ecobee.notify_if_down = function() {
beestat.ecobee.down_notification_ = new beestat.component.down_notification();
}
if (down === true) {
if (
down === true &&
window.is_demo === false
) {
beestat.ecobee.down_notification_.render($('body'));
} else {
beestat.ecobee.down_notification_.dispose();