Help request for error with lights changing color automation

I have an automation that has been working for some time. When rain is forecast in my area, all smart lights will flash blue when they turn on. What is happening now is they all turn on, don’t change color, and stay on instead of flashing. The error code I’m getting is:

Error running action

two or more values in the same group of exclusion ‘Color descriptors’ @ data[]. Got None

The section of YAML code that triggers the error code is below:

service: light.turn_on
data:
  rgb_color:
    - 0
    - 0
    - 255
target:
  entity_id: light.all_lights

The entire automation is here:

alias: Rain alarm
description: ""
trigger:
  - platform: state
    entity_id:
      - light.all_lights
    to: "on"
condition:
  - condition: time
    before: "09:00:00"
    after: "04:30:00"
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
  - condition: or
    conditions:
      - condition: state
        entity_id:
          - weather.home
          - weather.forecast_home
          - weather.home_hourly
          - weather.forecast_home_hourly
          - weather.thermostat
        match: any
        state:
          - rainy
          - pouring
          - lightning
          - hail
          - lightning-rainy
      - condition: template
        value_template: >-
          {{ 'rainy' in state_attr('weather.forecast_home_hourly',
          'forecast')[:12] | map(attribute='condition') }}
      - condition: template
        value_template: >-
          {{ 'pouring' in state_attr('weather.forecast_home_hourly',
          'forecast')[:12] | map(attribute='condition') }}
      - condition: template
        value_template: >-
          {{ 'lightning' in state_attr('weather.forecast_home_hourly',
          'forecast')[:12] | map(attribute='condition') }}
      - condition: template
        value_template: >-
          {{ 'lightning-rainy' in state_attr('weather.forecast_home_hourly',
          'forecast')[:12] | map(attribute='condition') }}
      - condition: template
        value_template: >-
          {{ 'hail' in state_attr('weather.forecast_home_hourly',
          'forecast')[:12] | map(attribute='condition') }}
      - condition: template
        value_template: >-
          {{ 'rainy' in state_attr('weather.thermostat',
          'forecast')[0].condition }}
      - condition: template
        value_template: >-
          {{ 'pouring' in state_attr('weather.thermostat',
          'forecast')[0].condition }}
      - condition: template
        value_template: >-
          {{ 'lightning-rainy' in state_attr('weather.thermostat',
          'forecast')[0].condition }}
      - condition: template
        value_template: >-
          {{ 'lightning' in state_attr('weather.thermostat',
          'forecast')[0].condition }}
      - condition: template
        value_template: >-
          {{ 'hail' in state_attr('weather.thermostat', 'forecast')[0].condition
          }}
action:
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - service: scene.create
    data:
      snapshot_entities:
        - light.kitchen_sink_lights
        - light.dining_table_lights
        - light.kitchen_overhead_lights
      scene_id: baseline
  - repeat:
      count: "3"
      sequence:
        - service: light.turn_on
          target:
            entity_id: light.all_lights
          data: {}
        - delay:
            hours: 0
            minutes: 0
            seconds: 0
            milliseconds: 50
        - service: light.turn_on
          data:
            rgb_color:
              - 0
              - 0
              - 255
          target:
            entity_id: light.all_lights
        - delay:
            hours: 0
            minutes: 0
            seconds: 5
            milliseconds: 0
        - service: scene.turn_on
          target:
            entity_id: scene.baseline
          data: {}
        - delay:
            hours: 0
            minutes: 0
            seconds: 5
            milliseconds: 0
mode: restart

Solved!

For whatever reason, all of the color options produce the same error code. I set the blue flash portion to be an activated scene instead of calling for lights_on->blue.