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,25 @@
|
||||
alias: 'Nearly Home'
|
||||
id: automation_nearly_home
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.garage_door
|
||||
- binary_sensor.front_door_contact
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.home_occupied
|
||||
state: 'off'
|
||||
for: '00:10:00'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.deck_light_level
|
||||
below: 25
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.sun_elevation
|
||||
below: 15
|
||||
action:
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.entryway_mode
|
||||
option: 'Auto'
|
||||
Reference in New Issue
Block a user