RZL: Add on/off button to kitchen light

This commit is contained in:
uwap 2018-04-08 13:19:24 +02:00
parent 72021aa83c
commit 02be6701be
2 changed files with 12 additions and 1 deletions

View file

@ -522,6 +522,15 @@ const config : Config = {
position: [325, 407],
icon: "ceiling-light",
ui: [
{
type: "toggle",
on: 50,
off: 0,
toggled: n => n > 0,
topic: "kitchen_light_brightness",
text: "Ein/Ausschalten",
icon: "power"
},
{
type: "slider",
min: 0,