diff --git a/config/uwap-home/index.js b/config/uwap-home/index.js index 71753e5..82e7c4b 100644 --- a/config/uwap-home/index.js +++ b/config/uwap-home/index.js @@ -347,6 +347,9 @@ const config: Config = { "temperature-warning/office/setpoint", 15.0), ...topicHomeNumber("temperatureWarningBedroom", "temperature-warning/bedroom/setpoint", 15.0), + + ...topicZigbeeState("powerFountain", "power_fountain"), + temperatureKitchen: { state: { name: "tele/sonoff-kittchen/SENSOR", @@ -1465,6 +1468,21 @@ const config: Config = { ]).concat(sliderSVXY("ledstrip_livingroom", "x")) .concat(sliderSVXY("ledstrip_livingroom", "y")) }, + livingroomFountain: { + name: "Brunnen Wohnzimmer", + position: [550, 240], + icon: svg(icons.mdiFountain).color( + ({powerFountainState}) => + (powerFountainState === "on" ? hex("#00FF00") : hex("#000000"))), + ui: ([ + { + type: "toggle", + topic: "powerFountainState", + text: "Ein/Ausschalten", + icon: svg(icons.mdiPower) + }, + ]), + }, livingroomSoundbar: { name: "Soundbar Wohnzimmer", position: [550, 200],