- 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