Trouble with Actionable Notifications

I’m trying to set up actionable notifications. I’m setting everything up exactly as it says in the instructions. I’m able to get the notification, see the buttons, and click the buttons. But clicking the buttons does nothing on HA.

When I reload my automations and “check config” I get this error:

Configuration invalid

Error loading /config/configuration.yaml: mapping values are not allowed here in “/config/automations.yaml”, line 241, column 12

Here is automation.yaml file with line numbers added.

- id: '1535605158409'
  alias: Notify IOS App
  trigger:
  - at: 00:01
    platform: time
  condition: []
  action:
  - data:
      data:
        action_data:
        push:
          badge: 5
          category: alarm
          sound:
      message: Something happened at home!
    service: notify.ios_iphone
- id: '1535687873565'
  alias: Sound the alarm
    trigger:  **#THIS IS LINE 241**
      platform: event
      event_type: ios.notification_action_fired
      event_data:
        actionName: SOUND_ALARM
    action:
    - data:
      entity_id: switch.aeotec_zw080_siren_gen5_switch
    service: switch.turn_on

My configuration.yaml file:

ios:
  push:
    categories:
      - name: Alarm
        identifier: 'alarm'
        actions:
          - identifier: 'SOUND_ALARM'
            title: 'Sound Alarm'
            activationMode: 'background'
            authenticationRequired: false
            destructive: yes
            behavior: 'default'
          - identifier: 'SILENCE_ALARM'
            title: 'Silence Alarm'
            activationMode: 'background'
            authenticationRequired: false
            destructive: no
            behavior: 'textInput'
            textInputButtonTitle: 'Silencio!'
            textInputPlaceholder: 'Placeholder'

I’m assuming once I get rid of the config error it will work, but I can’t figure out how to get rid of it.

You have the indentation wrong on this:

- id: '1535687873565'
  alias: Sound the alarm
    trigger:  **#THIS IS LINE 241**
      platform: event
      event_type: ios.notification_action_fired
      event_data:
        actionName: SOUND_ALARM
    action:
    - data:
      entity_id: switch.aeotec_zw080_siren_gen5_switch
    service: switch.turn_on

It should be:

- id: '1535687873565'
  alias: Sound the alarm
  trigger:  **#THIS IS LINE 241**
    platform: event
    event_type: ios.notification_action_fired
    event_data:
      actionName: SOUND_ALARM
  action:
    - data:
        entity_id: switch.aeotec_zw080_siren_gen5_switch
      service: switch.turn_on

Thank you! That fixed it!