+Licht Spüle

This commit is contained in:
Ranlvor 2018-04-22 13:53:41 +02:00
parent 5a99952edb
commit e747acc67e
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -175,6 +175,12 @@ const config : Config = {
command: "/service/openhab/in/kitchen_light_all_brightness/command",
defaultValue: "0",
values: {}
},
kitchen_sink_light_brightness: {
state: "/service/openhab/out/tradfri_0100_gwb8d7af2b448f_65545_brightness/state",
command: "/service/openhab/out/tradfri_0100_gwb8d7af2b448f_65545_brightness/command",
defaultValue: "0",
values: {}
}
},
floalt.topics("65537"),
@ -638,6 +644,31 @@ const config : Config = {
delayedApply: true
}
]
},
kitchen_sink_light: {
name: "Licht Spüle",
position: [300, 348],
icon: "ceiling-light",
ui: [
{
type: "toggle",
on: 50,
off: 0,
toggled: n => parseInt(n) > 0,
topic: "kitchen_sink_light_brightness",
text: "Ein/Ausschalten",
icon: "power"
},
{
type: "slider",
min: 0,
max: 100,
text: "Helligkeit",
icon: "brightness-7",
topic: "kitchen_sink_light_brightness",
delayedApply: true
}
]
}
},
layers: [