This bug fix really shouldn't be needed
This commit is contained in:
parent
9a8f9c57bf
commit
9bd5d5c9c8
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ const config : Config = {
|
||||||
type: "toggle",
|
type: "toggle",
|
||||||
on: 50,
|
on: 50,
|
||||||
off: 0,
|
off: 0,
|
||||||
toggled: n => n > 0,
|
toggled: n => parseInt(n) > 0,
|
||||||
topic: "kitchen_light_brightness",
|
topic: "kitchen_light_brightness",
|
||||||
text: "Ein/Ausschalten",
|
text: "Ein/Ausschalten",
|
||||||
icon: "power"
|
icon: "power"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue