The error points to a bad trigger in your automations.yaml. the #1 indicates the second trigger I believe in one of your automations [I believe it starts as zero so one would be the second trigger). You’ll have to go through al your automations in that file and look at your triggers to see where something looks missing.
In addition to being the second trigger of one of your automations the error telling you the automation is missing or cannot resolve the trigger platform: for some reason.