diff --git a/configuration/automations/hallway.yaml b/configuration/automations/hallway.yaml index 40f618d..cb00299 100644 --- a/configuration/automations/hallway.yaml +++ b/configuration/automations/hallway.yaml @@ -50,7 +50,8 @@ - binary_sensor.presence_sensor_fp2_hallaway from: 'on' to: 'off' - for: 00:00:01 + for: + seconds: 5 condition: - condition: state entity_id: binary_sensor.hallway_motion_sensor diff --git a/configuration/automations/kitchen-motion.yaml b/configuration/automations/kitchen-motion.yaml index ae45d29..d1945bd 100644 --- a/configuration/automations/kitchen-motion.yaml +++ b/configuration/automations/kitchen-motion.yaml @@ -28,6 +28,8 @@ - platform: state entity_id: binary_sensor.presence_sensor_fp2_kitchen to: 'off' + for: + seconds: 5 # - platform: state # entity_id: binary_sensor.kitchen_motion_sensor # for: '0:02:00' diff --git a/configuration/automations/living-room-presence.yaml b/configuration/automations/living-room-presence.yaml index 6bf589f..be93ee3 100644 --- a/configuration/automations/living-room-presence.yaml +++ b/configuration/automations/living-room-presence.yaml @@ -21,5 +21,7 @@ - platform: state entity_id: binary_sensor.presence_sensor_fp2_couch to: 'off' + for: + seconds: 5 action: - service: script.living_room_lights_off diff --git a/configuration/automations/office-presence.yaml b/configuration/automations/office-presence.yaml index 5745859..d9473a3 100644 --- a/configuration/automations/office-presence.yaml +++ b/configuration/automations/office-presence.yaml @@ -21,5 +21,7 @@ - platform: state entity_id: binary_sensor.presence_sensor_fp2_office to: 'off' + for: + seconds: 5 action: - service: script.office_lights_off