diff --git a/configuration/automations/mobile-actions.yaml b/configuration/automations/mobile-actions.yaml index 500fe43..5b2f409 100644 --- a/configuration/automations/mobile-actions.yaml +++ b/configuration/automations/mobile-actions.yaml @@ -50,6 +50,21 @@ action: - service: script.arrive_home +- id: mobile_action-arrive_home_unlock + alias: '[Mobile-action] Arrive home & unlock automation' + description: '' + mode: single + trigger: + - platform: event + event_type: mobile_app_notification_action + event_data: + action: ARRIVE_HOME_UNLOCK + action: + - service: script.arrive_home + - service: lock.unlock + target: + entity_id: lock.front_door_lock_doorlock + - id: mobile_action-clothes_put_away alias: '[Mobile-action] Clothes put away' description: '' diff --git a/configuration/automations/presence.yaml b/configuration/automations/presence.yaml index c5bbe80..d5e5a08 100644 --- a/configuration/automations/presence.yaml +++ b/configuration/automations/presence.yaml @@ -18,6 +18,8 @@ actions: - action: ARRIVE_HOME title: Run automation + - action: ARRIVE_HOME_UNLOCK + title: Run automation & Unlock door - action: UNLOCK_DOOR title: Unlock door