mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
23 lines
525 B
YAML
23 lines
525 B
YAML
alias: "Garage open nobody home"
|
|
id: automation_garage_open_nobody_home
|
|
initial_state: "on"
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.garage_open_nobody_home
|
|
to: "on"
|
|
|
|
condition:
|
|
- condition: and
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.home_occupied
|
|
state: "off"
|
|
- condition: state
|
|
entity_id: cover.garage_door
|
|
state: "on"
|
|
|
|
action:
|
|
- action: notify.mobile_app_pixel_10_pro
|
|
data:
|
|
message: The garage is open, but nobody is home
|