Compare commits
2 commits
44cb2ffe7d
...
deed84771d
Author | SHA1 | Date | |
---|---|---|---|
deed84771d | |||
6983888525 |
2 changed files with 7 additions and 7 deletions
|
@ -30,7 +30,7 @@
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.hallway_motion_sensor
|
- binary_sensor.hallway_motion_sensor
|
||||||
- binary_sensor.hallway_person_occupancy
|
- binary_sensor.hallway_person_occupancy
|
||||||
- binary_sensor.presence_sensor_fp2_a73c_hallaway
|
- binary_sensor.presence_sensor_fp2_hallaway
|
||||||
to: "on"
|
to: "on"
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.hallway_motion_sensor
|
- binary_sensor.hallway_motion_sensor
|
||||||
- binary_sensor.hallway_person_occupancy
|
- binary_sensor.hallway_person_occupancy
|
||||||
- binary_sensor.presence_sensor_fp2_a73c_hallaway
|
- binary_sensor.presence_sensor_fp2_hallaway
|
||||||
from: 'on'
|
from: 'on'
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: 00:00:01
|
for: 00:00:01
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
entity_id: binary_sensor.hallway_person_occupancy
|
entity_id: binary_sensor.hallway_person_occupancy
|
||||||
state: "off"
|
state: "off"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.presence_sensor_fp2_a73c_hallaway
|
entity_id: binary_sensor.presence_sensor_fp2_hallaway
|
||||||
state: "off"
|
state: "off"
|
||||||
action:
|
action:
|
||||||
- service: script.hallway_lights_off
|
- service: script.hallway_lights_off
|
||||||
|
|
|
@ -4,16 +4,16 @@ living_room_lights_toggle:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.table_lamp_lights
|
entity_id: light.couch_lights
|
||||||
state: 'on'
|
state: 'on'
|
||||||
sequence:
|
sequence:
|
||||||
living_room_ice: script.table_lights_off
|
- service: script.living_room_lights_off
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.table_lamp_lights
|
entity_id: light.couch_lights
|
||||||
state: 'off'
|
state: 'off'
|
||||||
sequence:
|
sequence:
|
||||||
living_room_ice: script.table_lights_on
|
- service: script.living_room_lights_on
|
||||||
|
|
||||||
living_room_lights_on:
|
living_room_lights_on:
|
||||||
alias: '[Living Room] Lights on'
|
alias: '[Living Room] Lights on'
|
||||||
|
|
Loading…
Reference in a new issue