From 9bd5d5c9c850cedf58d81a069d7f28d0dd6e85e0 Mon Sep 17 00:00:00 2001 From: uwap Date: Sun, 8 Apr 2018 13:28:04 +0200 Subject: [PATCH] This bug fix really shouldn't be needed --- config/rzl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"