ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit d06618b42b06f2ebc8bd2d1ff21b4c5c243c5c0b
parent 74f39f95c98e71fc01726212d1fa921db865d864
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 20 Jan 2022 00:02:08 +0100

configuration/lollo: add motion-sensor for bathroom in smartied-config
1 file changed, 13 insertions(+), 0 deletions(-)
M
configuration/lollo.yml
|
13
+++++++++++++
diff --git a/configuration/lollo.yml b/configuration/lollo.yml
@@ -661,6 +661,19 @@ services:
               - type: SwitchStateAction
                 deviceName: tradfri-co-l
                 toggle: true
+        tradfri-motion-sensor:
+          type: Zigbee2MqttMotionSensor
+          deviceName: ikea_motionsensor
+          occupyActions:
+            - type: SwitchStateAction
+              deviceName: tradfri-lamp-bathroom
+              relay: 0
+              state: true
+          clearActions:
+            - type: SwitchStateAction
+              deviceName: tradfri-lamp-bathroom
+              relay: 0
+              state: false
       clientConfigs:
         smarthome-pwa:
           views: