Integrate downstairs foyer sensor
This commit is contained in:
parent
eef202ec4a
commit
f38feb2572
|
@ -80,7 +80,7 @@
|
|||
mode: single
|
||||
- id: '1628291074276'
|
||||
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:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.people_home
|
||||
|
@ -100,9 +100,9 @@
|
|||
at: 03:00
|
||||
condition: []
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
- service: homeassistant.turn_off
|
||||
target:
|
||||
entity_id: switch.shop_lights
|
||||
entity_id: group.basement
|
||||
mode: single
|
||||
- id: '1628534795820'
|
||||
alias: Activate Basement Lights on Shop Door Entry
|
||||
|
@ -117,3 +117,17 @@
|
|||
target:
|
||||
entity_id: group.basement
|
||||
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
|
||||
entities:
|
||||
- switch.shop_lights
|
||||
- switch.shop_foyer_lights
|
||||
|
|
Loading…
Reference in New Issue