2023-06-12 21:56:22 +00:00
|
|
|
- id: ios_door_lock
|
2022-04-02 01:00:35 +00:00
|
|
|
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
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: ios_intercom_button
|
2022-11-13 23:39:19 +00:00
|
|
|
alias: '[ios] Intercom button'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: ios.action_fired
|
|
|
|
event_data:
|
|
|
|
actionName: Intercom button
|
|
|
|
action:
|
2022-11-27 14:18:48 +00:00
|
|
|
- service: input_boolean.toggle
|
2022-11-13 23:39:19 +00:00
|
|
|
target:
|
2022-11-27 14:18:48 +00:00
|
|
|
entity_id: input_boolean.intercom_button
|
2022-11-13 23:39:19 +00:00
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: ios_good_night
|
2022-04-02 01:00:35 +00:00
|
|
|
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
|
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: ios_good_morning
|
2022-04-02 01:00:35 +00:00
|
|
|
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
|
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: ios_leave_home
|
2022-04-02 01:00:35 +00:00
|
|
|
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
|
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: ios_arrive_home
|
2022-04-02 01:00:35 +00:00
|
|
|
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
|