Is possible to monitor a a script state?

Hello I’m trying to monitor a script using an automation:

My script

match_started:
alias: “Match Started”
sequence:
- delay:
seconds: 10

My Automation

  • alias: Turn on hue living when start the match
    initial_state: True
    hide_entity: True
    trigger:
    platform: state
    entity_id: script.match_started
    to: ‘on’
    condition:
    condition: and
    conditions:
    - condition: state
    entity_id: group.all_devices
    state: ‘home’
    action:
    service: light.turn_on
    entity_id:
    - light.living_salone
    data:
    brightness: 254
    rgb_color: [0, 104, 255]

Please can you let me know if is possible to monitor it?

Thanks.

It is possible.
Here is how I do it: https://github.com/Danielhiversen/home-assistant_config/blob/master/automation/general.yaml#L15

Thanks now it works.

I have only incremented the delay on the script.