Picture Elements card - Service buttton - Script

Can anyone help me?

I have a Picture Elements card with a service button. I’m trying to run one of my script from the service button. I get a green ticket when I press the service button but the script doesn’t seem to run.

This is the code

- service: script.turn_on
        - 368f371b739040d6bf6ba07c36a358cb
      left: 84%
      top: 96%
    title: Fan off delayed
    type: service-button

If anyone can help that would be great.