mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
alias: Garage Lights to Off
|
||||
id: automation_garage_lights_to_off
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.garage_occupied
|
||||
to: 'off'
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.inner_garage_door
|
||||
- binary_sensor.outer_garage_door
|
||||
- binary_sensor.garage_door
|
||||
to: 'off'
|
||||
for: '00:10:00'
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.garage_naturally_lit
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.lighting_automations
|
||||
state: 'on'
|
||||
|
||||
- condition: state
|
||||
entity_id: light.garage_overhead
|
||||
state: 'on'
|
||||
|
||||
- condition: state
|
||||
entity_id:
|
||||
- binary_sensor.inner_garage_door
|
||||
- binary_sensor.outer_garage_door
|
||||
#- binary_sensor.garage_door
|
||||
- input_boolean.garage_occupied
|
||||
state: 'off'
|
||||
|
||||
action:
|
||||
- service: light.turn_off
|
||||
data:
|
||||
entity_id: light.garage_overhead
|
||||
Reference in New Issue
Block a user