- id: ios_door_lock alias: '[ios] Door Lock' mode: single trigger: - platform: event event_type: ios.action_fired event_data: actionName: Door Lock Toggle action: - choose: - conditions: - condition: state entity_id: lock.front_door_lock_doorlock state: locked sequence: - service: lock.unlock target: entity_id: lock.front_door_lock_doorlock - conditions: - condition: state entity_id: lock.front_door_lock_doorlock state: unlocked sequence: - service: lock.lock target: entity_id: lock.front_door_lock_doorlock - 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: input_boolean.toggle target: entity_id: input_boolean.intercom_button - id: ios_good_night alias: '[ios] Good Night' mode: single trigger: - platform: event event_type: ios.action_fired event_data: actionName: 'Good Night' 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: actionName: 'Good Morning' 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: actionName: 'Leave Home' 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: actionName: 'Arrive Home' action: - service: script.arrive_home