Modify automation to allow a 'long' flash

Hello,
I’ve create an automation using the builtin editor. The automation will run using a webhook.
I’d like the lights to flash several times and I have tested the command ‘Flash: long’ will do this.
I’m stuck however on knowing how to edit the commands below to use the long flash command. I’ve tried various things but the builtin editor doesn’t like them. So I tried it manually without success.

Hoping someone can show me the way.

Many thanks

- id: '1610656736957'
  alias: Cloud Service Alert
  description: ''
  trigger:
  - platform: webhook
    webhook_id: UsAJuxTN7tJYkOMUSMSlwBylEkVcevbm
  condition: []
  action:
  - type: flash
    device_id: 1a01e76ac2f24daeb746edfba6fe136c
    entity_id: light.bedroom_side_table
    domain: light
  - type: flash
    device_id: 038156955a4842b5a9be08b0f10cb0fd
    entity_id: light.bulb_bedroom_1
    domain: light
  - type: flash
    device_id: 00a255b25d544b7b9eabcf076cf5c8f4
    entity_id: light.hue_white_lamp_1
    domain: light
  - type: flash
    device_id: 9123b93ea00b466399b1d4ff93dace26
    entity_id: light.desk_lamp
    domain: light
  - type: flash
    device_id: e0f3bf01c45e4507985c3fe4b587a663
    entity_id: light.office_desk
    domain: light
  mode: single

I’m at 0.115.2 and apparently the flash feature is doing nothing… how many times do you want them to flash? are them all hue lights? I could give you a workaround

Hi, thank you for replying.
I’m at 2021.1.1 (beta channel).
Long flash definitely works. I’ve tested it just now to be extra sure. I need a way of adding ‘long’ command to the body of the code.

Looking at the docs for light: I would expect to use the flash feature like this:

action:
  - service: light.turn_on
    data:
      entity_id: light.bedroom_side_table
      flash: long

…but I have never used that feature so I could be wrong.

I’ll give it a try. Thank you!