mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
update to truthy value
This commit is contained in:
parent
8c2f00d6a3
commit
bb2a946488
@ -20,7 +20,7 @@ export default function Component({ service }) {
|
||||
);
|
||||
}
|
||||
let state
|
||||
if (wledData.state.on === 1){
|
||||
if (wledData.state.on === true){
|
||||
state = "On";
|
||||
} else {
|
||||
state = "Off";
|
||||
|
Loading…
x
Reference in New Issue
Block a user