Files
fresh-home/automations/rooms/garage/garage_open_nobody_home.yaml
2026-05-04 21:01:23 -04:00

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