Remove old second motion sensor
This commit is contained in:
parent
e6426a4f3b
commit
d292e56110
@ -11,9 +11,6 @@
|
|||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.hallway_motion_sensor
|
entity_id: binary_sensor.hallway_motion_sensor
|
||||||
to: 'on'
|
to: 'on'
|
||||||
- platform: state
|
|
||||||
entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection
|
|
||||||
to: 'on'
|
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.kitchen_motion_sensor
|
entity_id: binary_sensor.kitchen_motion_sensor
|
||||||
to: 'on'
|
to: 'on'
|
||||||
|
@ -36,10 +36,6 @@
|
|||||||
entity_id: binary_sensor.hallway_motion_sensor
|
entity_id: binary_sensor.hallway_motion_sensor
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
- platform: state
|
|
||||||
entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection
|
|
||||||
from: 'off'
|
|
||||||
to: 'on'
|
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.front_door_open_close
|
entity_id: binary_sensor.front_door_open_close
|
||||||
to: 'on'
|
to: 'on'
|
||||||
|
@ -7,16 +7,7 @@
|
|||||||
for: 00:00:05
|
for: 00:00:05
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
- platform: state
|
|
||||||
entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection
|
|
||||||
for: 00:00:05
|
|
||||||
from: 'off'
|
|
||||||
to: 'on'
|
|
||||||
action:
|
action:
|
||||||
# - service: python_script.set_state
|
|
||||||
# data_template:
|
|
||||||
# entity_id: binary_sensor.hallway_motion_sensor
|
|
||||||
# state: 'off'
|
|
||||||
- service: zha.set_zigbee_cluster_attribute
|
- service: zha.set_zigbee_cluster_attribute
|
||||||
data:
|
data:
|
||||||
ieee: 00:15:8d:00:07:75:31:c0
|
ieee: 00:15:8d:00:07:75:31:c0
|
||||||
@ -58,14 +49,10 @@
|
|||||||
entity_id: binary_sensor.hallway_motion_sensor
|
entity_id: binary_sensor.hallway_motion_sensor
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
- platform: state
|
|
||||||
entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection
|
|
||||||
from: 'off'
|
|
||||||
to: 'on'
|
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.office_illuminance
|
entity_id: sensor.office_illuminance
|
||||||
below: '100'
|
below: '150'
|
||||||
action:
|
action:
|
||||||
- service: script.hallway_lights_on
|
- service: script.hallway_lights_on
|
||||||
|
|
||||||
@ -78,11 +65,6 @@
|
|||||||
from: 'on'
|
from: 'on'
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: 00:00:05
|
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:
|
action:
|
||||||
- service: script.hallway_lights_off
|
- service: script.hallway_lights_off
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user