Add beedroom wakeup option
This commit is contained in:
parent
6fcc9b44fe
commit
ef9bc1211f
1 changed files with 17 additions and 0 deletions
|
|
@ -99,6 +99,17 @@ const config: Config = {
|
||||||
},
|
},
|
||||||
defaultValue: "OFF"
|
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: {
|
bedroomBrightness: {
|
||||||
state: {
|
state: {
|
||||||
name: "zigbee2mqtt/bulb_bedroom",
|
name: "zigbee2mqtt/bulb_bedroom",
|
||||||
|
|
@ -170,6 +181,12 @@ const config: Config = {
|
||||||
text: "Helligkeit",
|
text: "Helligkeit",
|
||||||
icon: mdi("brightness-7"),
|
icon: mdi("brightness-7"),
|
||||||
topic: "bedroomBrightness"
|
topic: "bedroomBrightness"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "toggle",
|
||||||
|
topic: "bedroomWakeup",
|
||||||
|
text: "Lichtwecker",
|
||||||
|
icon: mdi("power")
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue