2022-04-02 01:00:35 +00:00
|
|
|
- id: ios-door-lock
|
|
|
|
alias: '[ios] Door Lock'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: ios.action_fired
|
|
|
|
event_data:
|
2022-04-19 22:38:52 +00:00
|
|
|
actionName: Door Lock Toggle
|
2022-04-02 01:00:35 +00:00
|
|
|
action:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: lock.front_door_25f246fe_door_lock
|
|
|
|
state: locked
|
|
|
|
sequence:
|
|
|
|
- service: lock.unlock
|
|
|
|
target:
|
|
|
|
entity_id: lock.front_door_25f246fe_door_lock
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: lock.front_door_25f246fe_door_lock
|
|
|
|
state: unlocked
|
|
|
|
sequence:
|
|
|
|
- service: lock.lock
|
|
|
|
target:
|
|
|
|
entity_id: lock.front_door_25f246fe_door_lock
|
|
|
|
|
|
|
|
- id: ios-good-night
|
|
|
|
alias: '[ios] Good Night'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: ios.action_fired
|
|
|
|
event_data:
|
2022-04-05 22:00:03 +00:00
|
|
|
actionName: 'Good Night'
|
2022-04-02 01:00:35 +00:00
|
|
|
action:
|
|
|
|
- service: script.good_night
|
|
|
|
|
|
|
|
- id: ios-good-morning
|
|
|
|
alias: '[ios] Good Morning'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: ios.action_fired
|
|
|
|
event_data:
|
2022-04-05 22:00:03 +00:00
|
|
|
actionName: 'Good Morning'
|
2022-04-02 01:00:35 +00:00
|
|
|
action:
|
|
|
|
- service: script.good_morning
|
|
|
|
|
|
|
|
- id: ios-leave-home
|
|
|
|
alias: '[ios] Leave Home'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: ios.action_fired
|
|
|
|
event_data:
|
2022-04-05 22:00:03 +00:00
|
|
|
actionName: 'Leave Home'
|
2022-04-02 01:00:35 +00:00
|
|
|
action:
|
|
|
|
- service: script.leave_home
|
|
|
|
|
|
|
|
- id: ios-arrive-home
|
|
|
|
alias: '[ios] Arrive Home'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: ios.action_fired
|
|
|
|
event_data:
|
2022-04-05 22:00:03 +00:00
|
|
|
actionName: 'Arrive Home'
|
2022-04-02 01:00:35 +00:00
|
|
|
action:
|
|
|
|
- service: script.arrive_home
|