From d292e56110e32e1a0e4c388b4914cbdd0f09ccaa Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 12 Dec 2022 20:32:03 +0100 Subject: [PATCH] Remove old second motion sensor --- configuration/automations/alarm.yaml | 3 --- configuration/automations/camera.yaml | 4 ---- configuration/automations/hallway.yaml | 20 +------------------- 3 files changed, 1 insertion(+), 26 deletions(-) diff --git a/configuration/automations/alarm.yaml b/configuration/automations/alarm.yaml index 95d7372..d582247 100644 --- a/configuration/automations/alarm.yaml +++ b/configuration/automations/alarm.yaml @@ -11,9 +11,6 @@ - platform: state entity_id: binary_sensor.hallway_motion_sensor to: 'on' - - platform: state - entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection - to: 'on' - platform: state entity_id: binary_sensor.kitchen_motion_sensor to: 'on' diff --git a/configuration/automations/camera.yaml b/configuration/automations/camera.yaml index 6678bea..e3b6638 100644 --- a/configuration/automations/camera.yaml +++ b/configuration/automations/camera.yaml @@ -36,10 +36,6 @@ entity_id: binary_sensor.hallway_motion_sensor from: 'off' to: 'on' - - platform: state - entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection - from: 'off' - to: 'on' - platform: state entity_id: binary_sensor.front_door_open_close to: 'on' diff --git a/configuration/automations/hallway.yaml b/configuration/automations/hallway.yaml index 485e60a..0d3956a 100644 --- a/configuration/automations/hallway.yaml +++ b/configuration/automations/hallway.yaml @@ -7,16 +7,7 @@ for: 00:00:05 from: 'off' to: 'on' - - platform: state - entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection - for: 00:00:05 - from: 'off' - to: 'on' action: -# - service: python_script.set_state -# data_template: -# entity_id: binary_sensor.hallway_motion_sensor -# state: 'off' - service: zha.set_zigbee_cluster_attribute data: ieee: 00:15:8d:00:07:75:31:c0 @@ -58,14 +49,10 @@ entity_id: binary_sensor.hallway_motion_sensor from: 'off' to: 'on' - - platform: state - entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection - from: 'off' - to: 'on' condition: - condition: numeric_state entity_id: sensor.office_illuminance - below: '100' + below: '150' action: - service: script.hallway_lights_on @@ -78,11 +65,6 @@ from: 'on' to: 'off' for: 00:00:05 - - platform: state - entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection - from: 'on' - to: 'off' - for: 00:00:05 action: - service: script.hallway_lights_off