Remove old second motion sensor
This commit is contained in:
parent
e6426a4f3b
commit
d292e56110
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user