Add beedroom wakeup option

This commit is contained in:
Ranlvor 2019-05-11 00:53:45 +02:00
parent 6fcc9b44fe
commit ef9bc1211f
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"
},
bedroomWakeup: {
state: {
name: "home-rust/wakeup",
type: types.option({ true: "on", false: "off" })
},
command: {
name: "home-rust/wakeup/set",
type: types.option({ on: "true", off: "false" })
},
defaultValue: "OFF"
},
bedroomBrightness: {
state: {
name: "zigbee2mqtt/bulb_bedroom",
@ -170,6 +181,12 @@ const config: Config = {
text: "Helligkeit",
icon: mdi("brightness-7"),
topic: "bedroomBrightness"
},
{
type: "toggle",
topic: "bedroomWakeup",
text: "Lichtwecker",
icon: mdi("power")
}
]
},