two more boolean home-rust-settings

This commit is contained in:
Ranlvor 2022-04-22 13:14:22 +02:00
parent 38de936bdd
commit fa8d403076
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -334,8 +334,11 @@ const config: Config = {
...topicHomeBoolean("livingroomKodiControlled", ...topicHomeBoolean("livingroomKodiControlled",
"bulb/livingroom/kodi-controlled"), "bulb/livingroom/kodi-controlled"),
...topicHomeBoolean("projectorControlsSoundbar",
"projector-controls-soundbar", true),
...topicHomeBoolean("bedroomWakeup", "wakeup"), ...topicHomeBoolean("bedroomWakeup", "wakeup"),
...topicHomeBoolean("lueftenHint", "lueften"), ...topicHomeBoolean("lueftenHint", "lueften"),
...topicHomeBoolean("windowOpenWarning", "window_open_warning", true),
...topicHomeBoolean("printerLight", ...topicHomeBoolean("printerLight",
"bulb/bulb_3d_printer/auto"), "bulb/bulb_3d_printer/auto"),
...topicHomeNumber("temperatureWarningKitchen", ...topicHomeNumber("temperatureWarningKitchen",
@ -981,7 +984,13 @@ const config: Config = {
{ value: 15, label: "15°C" }, { value: 15, label: "15°C" },
{ value: 20, label: "20°C" } { value: 20, label: "20°C" }
] ]
} },
{
type: "toggle",
topic: "windowOpenWarning",
text: "Fenster Offen Warnung",
icon: svg(icons.mdiWindowOpenVariant)
},
] ]
}, },
diningroomLight: { diningroomLight: {
@ -1483,6 +1492,12 @@ const config: Config = {
icon: svg(icons.mdiVolumeHigh), icon: svg(icons.mdiVolumeHigh),
topic: "livingroomSoundbarVolume" topic: "livingroomSoundbarVolume"
}, },
{
type: "toggle",
topic: "projectorControlsSoundbar",
text: "Projector Controlled",
icon: svg(icons.mdiProjector)
},
]) ])
}, },
livingroomLedStripWled: { livingroomLedStripWled: {