Don't understand notification

I get a notification related to automations and the logs show the following.

Invalid config for [automation]: value is not allowed for dictionary value @ data[‘type’]. Got None. (See /config/configuration.yaml, line 16).

Line 16 of configuration.yaml is - group: !include groups.yaml

I have no idea what is triggering this.

ignore the line reference this time.

In this case it’s telling you that there is a problem with an automation so start there.

Sometimes the line numbers of the config checker gets confused about comments and whitespace.

Turned out that when I deleted all the automations from the GUI, the automation.yaml file still had a rogue automation in it (or portion thereof). I deleted that, re-built all the automations and now the error/notification is gone. Thanks for your help.