Flash Hue light and color

Hi everybody!

I’m rather new at this HA, migrating from Smartthings. Hence I’m not that handy with yaml either.

I have an automation working, that flashes the outdoor lights when the garage port opens - this way i know that my RF remote activated the garage port opener when i’m coming home.
Now I am trying to get it to flash at a color too, but yaml does not allow me to use “color_name: blue”.
How do i get passed this, if its possible?

Thanks in advance.

See my code below:

alias: 'Garageport, åben'
description: ''
trigger:
  - type: opened
    platform: device
    device_id: 487968eac7cf3924ce5f5e87065e4903
    entity_id: binary_sensor.samjin_multi_2e781101_ias_zone
    domain: binary_sensor
condition: []
action:
  - type: flash
    device_id: f7bf4f87981a61dae53b903fa55b65ea
    entity_id: light.hoveddor_1
    domain: light
    color_name: blue
  - type: flash
    device_id: aa3defc130e4625cd583e504915cfddd
    entity_id: light.hoveddor_2
    domain: light
    color_name: blue
  - type: flash
    device_id: b03cb72014aa1ec92bcba522026d3dbc
    entity_id: light.hoveddor_3
    domain: light
    color_name: blue
mode: single

Never tried it, but try to use light.turn_on as action:

- service:  light.turn_on
  data:
    entity_id: light.hoveddor_1
    flash: short
    color_name: blue

You might also consider creating a Light Group with hoveddor_1,2,3 in it to avoid duplicate service calls and asynchronous flashing.

Thanks for the answer @m0wlheld, i will give it a go :+1: