Fixed ENV status light

This commit is contained in:
Zakary Timson 2024-10-30 10:37:08 -04:00
parent efc56aae40
commit 287a28d065

View File

@ -221,7 +221,7 @@
}); });
run('status').then(status => { 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'); statusBat.forEach(sb => sb.style.background = status['bms'] === 'ok' ? 'green' : 'red');
}); });