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).