Invalid config for [automation]: expected dict for dictionary value @ data['action'][0]['data']. Got None. (See /config/configuration.yaml, line 16). Please check the docs at https://home-assistant.io/integrations/automation/
The problem is, line 16 of config.yaml is just
zeroconf:
When I delete/move this line, the error message just goes up (from 16 to 15, 15 to 14 etc.
Indentation in the action block starting on line 83 in what you shared is wrong. Plus you don’t actually need data: there either. Service and entity ID is sufficient.
That particular automation was created inside HA Configuration GUI and not modified manually but yes, removing line 83 “- data” fixed the issue. Thanks!