Error in log - Automation

When I moved to 0.116, it appears that error in log:

Logger: homeassistant.config
Source: config.py:415
First occurred: November 9, 2020, 10:34:25 PM (1 occurrences)
Last logged: November 9, 2020, 10:34:25 PM

Invalid config for [automation]: not a valid value for dictionary value @ data['action'][6]['entity_id']. Got None. (See ?, line ?).

Also in 0.117 there is the same error, but reading automation.yaml I cannot see anything worng, and the message didn’t give any further information to catch it.

Someone has any idea?
Thanks a lot!

The 7th service call in one of your automations is missing an entity id.

What does it mean “the 7th service call”?

action:
  - service: something.turn_on  # service call 1 
    entity_id: something.something
  - service: something.turn_off # service call 2
    entity_id: something.something
  - service: something.turn_on  # service call 3
    entity_id: something.something
  - delay: 30                   # service call 4
  - service: something.turn_on  # service call 5
    entity_id: something.something
  - service: something.turn_on  # service call 6
    entity_id: something.something
  - service: something.turn_on  # service call 7  <----- THIS ONE
  - service: something.turn_on  # service call 8
    etc...

In reality the error log starts counting from zero, which is why this says “6”: @ data['action'][6] in the error log for the 7th service call. I did not want to confuse you though as humans mostly start counting from 1.