mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
26 lines
613 B
YAML
26 lines
613 B
YAML
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_hue_motion_sensor_illuminance
|
|
below: 25
|
|
- condition: numeric_state
|
|
entity_id: sensor.sun_elevation
|
|
below: 15
|
|
action:
|
|
- action: input_select.select_option
|
|
data:
|
|
entity_id: input_select.entryway_mode
|
|
option: "Auto"
|