diff --git a/automations/files/bedroom-motion.yaml b/automations/files/bedroom-motion.yaml index 5d0024c..eee9a87 100644 --- a/automations/files/bedroom-motion.yaml +++ b/automations/files/bedroom-motion.yaml @@ -28,6 +28,10 @@ for: '0:02:00' from: 'on' to: 'off' + condition: + - condition: state + entity_id: alarm_control_panel.ha_alarm + state: disarmed action: - service: light.turn_off entity_id: light.bedroom_lights