diff --git a/configuration/automations/presence.yaml b/configuration/automations/presence.yaml index a35939c..a5a5325 100644 --- a/configuration/automations/presence.yaml +++ b/configuration/automations/presence.yaml @@ -4,6 +4,11 @@ - platform: state entity_id: person.przemek to: home + - condition: not + conditions: + - condition: state + entity_id: input_select.home_mode + state: Day action: - service: notify.mobile_app_iphone data: @@ -21,6 +26,11 @@ - platform: state entity_id: person.przemek from: home + - condition: not + conditions: + - condition: state + entity_id: input_select.home_mode + state: Away action: - service: notify.mobile_app_iphone data: