YAML code issue

Hi to all,
I’m trying to add daytime settings to my General Thermostat.
Here below my YAML code and the error on trace.
Where I wrong? Could you help me?
Many thanks!

The trace shows that you ran the automation manually which only runs the actions portion of the automation. In this case, there will be no trigger.id.

It should run fine when triggered by the time triggers.

For the future, please note the community standards on formatting/sharing yaml (via text, not images, please).

1 Like

Thanks! I tried waiting trigger time and it works fine!
PS Yes, for sure in the future I’ll paste the code following community rules

Good you it got solved!

Please take the time to mark the solution as the answer, you do that by selecting the three dots under the post:

image

Then select the check box:

image
By doing so:

  • this thread can be useful to other users as well (this thread comes up as solution when starting a thread which is similar to yours).
  • this prevents that someone else steps in trying to help

Thanks for giving back to the community! :+1: