Kodi-Lampen-Einbindung ist jetzt abschaltbar

This commit is contained in:
Ranlvor 2019-05-11 23:07:22 +02:00
parent edbcafdd37
commit 23156e939a
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -99,6 +99,17 @@ const config: Config = {
},
defaultValue: "OFF"
},
livingroomKodiControlled: {
state: {
name: "home-rust/bulb/livingroom/kodi-controlled",
type: types.option({ true: "on", false: "off" })
},
command: {
name: "home-rust/bulb/livingroom/kodi-controlled/set",
type: types.option({ on: "true", off: "false" })
},
defaultValue: "OFF"
},
bedroomWakeup: {
state: {
name: "home-rust/wakeup",
@ -241,6 +252,12 @@ const config: Config = {
text: "Ein/Ausschalten",
icon: mdi("power")
},
{
type: "toggle",
topic: "livingroomKodiControlled",
text: "Kodi Einbindung",
icon: mdi("brightness-auto")
},
{
type: "slider",
min: 0,