diff --git a/config/rzl.js b/config/rzl.js index 556c62e..2279c8f 100644 --- a/config/rzl.js +++ b/config/rzl.js @@ -526,7 +526,7 @@ const config : Config = { type: "toggle", on: 50, off: 0, - toggled: n => n > 0, + toggled: n => parseInt(n) > 0, topic: "kitchen_light_brightness", text: "Ein/Ausschalten", icon: "power"