Easy Scene not working

Hi,

i have a simple idee of light-scene. I was looking around for 2 days, but there are a lot of old methods and there were a lot of changes with hyperion.

MyScene:
Turn Hue Lamp1 Red
Turn Hue Lamp2 Red
Turn Hyperion on with Effect System Shutdown
Play Sound from /media/sirene.mp3 on Google Home

I want these action done when i say “hello google emergency” or “hello google activate emergency”. Im not even sure if i should use automations, scripts or even helper…

# automation.yaml entry
- alias: "Turn Hyperion effect on"
 action:
    - service: light.turn_on
      target:
        entity_id: light.main
      data:
        effect: "System Shutdown"
# automation.yaml entry
- alias: "Turn HUE COLOR on"
 action:
    - service: light.turn_on
      target:
        entity_id: light.hue1
      data:
        color: "RED"

Please have a look at the example scenes here:

What you have shown above is neither a scene, a script, nor an automation.

Scenes go under scene: in your configuration.yaml file if your are writing them in yaml. You can also construct a scene using the Home Assistant graphical user interface (GUI, or UI).

Once you have written your scenes correctly, you then need to expose them to Google Assistant:

Thanks for your answer. What exactly are you telling me with “What you have shown above is neither a scene, a script, nor an automation.”?

If Scenes are not working, what can i use to make this possible?

My solution until now is, i created a switch for a Script:

    script_start_alarm:
        turn_on:
          service: script.turn_on
          entity_id: script.Start_Alarm_Script
        turn_off: 
          service: script.turn_off
          entity_id: script.Stop_Hyperion

And inside this script i start the szene and the sound:

But this is not a very good soultion… Is there something better?