Calling a script from an automation is not executed

Please post the full, correctly-formatted YAML for the automation. We can’t diagnose off screenshots.