From 287a28d06523e43aebe3c26772f0d831bae9af2c Mon Sep 17 00:00:00 2001 From: ztimson Date: Wed, 30 Oct 2024 10:37:08 -0400 Subject: [PATCH] Fixed ENV status light --- ui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/index.html b/ui/index.html index 1ed3340..3607cd8 100644 --- a/ui/index.html +++ b/ui/index.html @@ -221,7 +221,7 @@ }); run('status').then(status => { - statusEnv.forEach(se => se.style.background = status['bme'] === 'ok' ? 'green' : 'red'); + statusEnv.forEach(se => se.style.background = status['bme280'] === 'ok' ? 'green' : 'red'); statusBat.forEach(sb => sb.style.background = status['bms'] === 'ok' ? 'green' : 'red'); });