You’ll have to post the automation code here so we can see it. In the automation editor UI, at the top right is three dots. Click those and select “Edit in YAML” then copy the code and paste it here. It must be properly formatted as a code block though. See here: How to help us help you - or How to ask a good question