From 24fea3101aadee71fb863a4c6dc8d8dd46c89dcd Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 3 Jun 2020 23:12:18 +0200 Subject: [PATCH] light-control: control speakers and monitors --- configs/pepe/home-assistant/light-control.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configs/pepe/home-assistant/light-control.nix b/configs/pepe/home-assistant/light-control.nix index 75f9f2b..6e2c47d 100644 --- a/configs/pepe/home-assistant/light-control.nix +++ b/configs/pepe/home-assistant/light-control.nix @@ -21,6 +21,8 @@ "stat/PAL01/RESULT" "stat/PAL03/RESULT" "stat/PAL04/RESULT" + "stat/PAL07/RESULT" + "stat/PAL08/RESULT" "zigbee2mqtt/light_2" ]; } @@ -142,6 +144,17 @@ id = "PAL06"; rooms = [ "kitchen_room" ]; }) + # monitor and speakers + (sonoff { + id = "PAL07"; + rooms = [ "bed_room" ]; + delay = 180; + }) + (sonoff { + id = "PAL08"; + rooms = [ "bed_room" ]; + delay = 180; + }) ]; };