Philips Hue Color Flash

Hey All!

I am seeming to have an issue getting my hue lights to flash colors . Any idea what’s wrong with my script?

sequence:
  - action: light.toggle
    metadata: {}
    data:
      flash: long
      brightness_pct: 100
      color_name: blue
    target:
      area_id:
        - living_room
alias: "emergency flash "
description: emergency