1
0
ansible-home-assistant/roles/automations/files/mobile-actions.yaml

98 lines
2.4 KiB
YAML
Raw Normal View History

2022-04-19 22:49:00 +00:00
- id: mobile_action-lock_door
alias: '[Mobile-action] Lock door'
description: ''
mode: single
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: LOCK_DOOR
action:
- service: lock.lock
target:
2022-10-20 17:11:59 +00:00
entity_id: lock.front_door_lock_doorlock
2022-04-19 22:49:00 +00:00
- id: mobile_action-unlock_door
alias: '[Mobile-action] Unlock door'
description: ''
mode: single
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: UNLOCK_DOOR
action:
- service: lock.unlock
target:
2022-10-20 17:11:59 +00:00
entity_id: lock.front_door_lock_doorlock
2022-04-19 22:49:00 +00:00
- id: mobile_action-leave_home
alias: '[Mobile-action] Leave home automation'
description: ''
mode: single
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: LEAVE_HOME
action:
- service: script.leave_home
- id: mobile_action-arrive_home
alias: '[Mobile-action] Arrive home automation'
description: ''
mode: single
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: ARRIVE_HOME
action:
2023-09-07 19:49:15 +00:00
- 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
2023-09-07 19:49:15 +00:00
- id: mobile_action-clothes_put_away
alias: '[Mobile-action] Clothes put away'
2023-09-07 19:49:15 +00:00
description: ''
mode: single
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: CLOTHES_PUT_AWAY
action:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.washing_clothes_dry
- id: mobile_action-meal_eaten
alias: '[Mobile-action] Meal eaten'
description: ''
mode: single
trigger:
- platform: event
event_type: mobile_app_notification_action
event_data:
action: MEAL_EATEN
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.meal_helper
- service: input_boolean.turn_off
target:
entity_id: input_boolean.meal_alert