mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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:
|
||||
- service: notify.mobile_app_pixel_7
|
||||
data:
|
||||
message: The garage is open, but nobody is home
|
||||
Reference in New Issue
Block a user