Integrate downstairs foyer sensor
This commit is contained in:
parent
eef202ec4a
commit
f38feb2572
|
@ -80,7 +80,7 @@
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1628291074276'
|
- id: '1628291074276'
|
||||||
alias: Turn Off Lights When House is Empty
|
alias: Turn Off Lights When House is Empty
|
||||||
description: When everybody leaves, turn off the lights
|
description: When everybody leaves, turn off the lights (switches only)
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.people_home
|
entity_id: binary_sensor.people_home
|
||||||
|
@ -100,9 +100,9 @@
|
||||||
at: 03:00
|
at: 03:00
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: homeassistant.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: switch.shop_lights
|
entity_id: group.basement
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1628534795820'
|
- id: '1628534795820'
|
||||||
alias: Activate Basement Lights on Shop Door Entry
|
alias: Activate Basement Lights on Shop Door Entry
|
||||||
|
@ -117,3 +117,17 @@
|
||||||
target:
|
target:
|
||||||
entity_id: group.basement
|
entity_id: group.basement
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: '1628551010045'
|
||||||
|
alias: Cascade Turn Off Basement Lights
|
||||||
|
description: If somebody turns off the lights at the stairwell, they prolly dont
|
||||||
|
mind if all the lights beyond that are turned off too.
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: switch.shop_lights
|
||||||
|
to: 'off'
|
||||||
|
condition: []
|
||||||
|
action:
|
||||||
|
- service: homeassistant.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: group.basement
|
||||||
|
mode: single
|
||||||
|
|
|
@ -3,3 +3,4 @@ basement:
|
||||||
name: Basement Lights
|
name: Basement Lights
|
||||||
entities:
|
entities:
|
||||||
- switch.shop_lights
|
- switch.shop_lights
|
||||||
|
- switch.shop_foyer_lights
|
||||||
|
|
Loading…
Reference in New Issue