update to truthy value

This commit is contained in:
Karl Hudgell 2024-02-08 13:35:41 +00:00
parent 8c2f00d6a3
commit bb2a946488

View File

@ -20,7 +20,7 @@ export default function Component({ service }) {
); );
} }
let state let state
if (wledData.state.on === 1){ if (wledData.state.on === true){
state = "On"; state = "On";
} else { } else {
state = "Off"; state = "Off";