How do I find the automation causing this error?

“Invalid config for [automation]: Failed to load blueprint: Unable to find HASwitchPlate/hasp_Create_Device_Triggers.yaml (See /config/configuration.yaml, line 268).”

Line 268 in my configuration.yaml is a comment.

How can I determine which automation maybe the problem?

You can search it in:

/config/automations.yaml

Here you have all automations in single file. Just use ctrl + F and search for “hasp_Create_Device_Triggers”

This is embarrassing.
Yes, it was in my automations.yaml, but it was not showing in my settings → automations.