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
|
2022-10-20 17:11:59 +00:00
|
|
|
entity_id: lock.front_door_lock_doorlock
|
2022-04-02 01:00:35 +00:00
|
|
|
state: locked
|
|
|
|
sequence:
|
|
|
|
- service: lock.unlock
|
|
|
|
target:
|
2022-10-20 17:11:59 +00:00
|
|
|
entity_id: lock.front_door_lock_doorlock
|
2022-04-02 01:00:35 +00:00
|
|
|
- conditions:
|
|
|
|
- condition: state
|
2022-10-20 17:11:59 +00:00
|
|
|
entity_id: lock.front_door_lock_doorlock
|
2022-04-02 01:00:35 +00:00
|
|
|
state: unlocked
|
|
|
|
sequence:
|
|
|
|
- service: lock.lock
|
|
|
|
target:
|
2022-10-20 17:11:59 +00:00
|
|
|
entity_id: lock.front_door_lock_doorlock
|
2022-04-02 01:00:35 +00:00
|
|
|
|
2022-11-13 23:39:19 +00:00
|
|
|
- id: ios-intercom-button
|
|
|
|
alias: '[ios] Intercom button'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: ios.action_fired
|
|
|
|
event_data:
|
|
|
|
actionName: Intercom button
|
|
|
|
action:
|
|
|
|
- service: switch.toggle
|
|
|
|
target:
|
|
|
|
entity_id: switch.intercom_button
|
|
|
|
|
2022-04-02 01:00:35 +00:00
|
|
|
- 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
|