Automation not triggered by time pattern

That’s a Jinja2 interpreter, not a YAML processor.

See: