Trying to get an automation to send two notifications, but getting error

So i used to have two separate alerts/automation, one for notify.Mycroftai and one for notify.pushbullet, but I have merged them into a single entry now.

- alias: 'Alert High Temperature In The Bedroom'
  trigger:
    - platform: numeric_state
      entity_id: sensor.esp2_temperature
      above: 30
      for:
        minutes: 5
  condition:
    - condition: state
      entity_id: input_boolean.guest_mode
      state: 'off'
  action:
    service: notify.Mycroftai
    data:
      message: "Warning, It's hot in the Bedroom"
      title: "Bedroom Alert"
    service: notify.james
    data:
      message: "It's hot in the Bedroom"

But i’m getting the following error ( and alerts don’t work )

YAML file /home/james/.homeassistant/include/alerts.yaml contains duplicate key "data"

Should i separate them out again or do i have to use the same data: for both messages?

If you have more than one action you need to make each action a list item by preceding them with a dash:

  action:
    - service: notify.Mycroftai
      data:
        message: "Warning, It's hot in the Bedroom"
        title: "Bedroom Alert"
    - service: notify.james
      data:
        message: "It's hot in the Bedroom"

Arrrrrr.
Everything I think I’m getting the hang of this yaml !

Thanks for that