Error in sensor._version

I get this error in my two Hass.io instances, both VM on Hyper-V. Anybody knows what is it pointing at?

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 389, in _async_add_entity
    raise HomeAssistantError(f"Invalid entity id: {entity.entity_id}")
homeassistant.exceptions.HomeAssistantError: Invalid entity id: sensor._version

Show us your config for your version sensor.

I have nothing for version sensor, just…

default_config:

When did this error occur?

Every time I restart HA…

Could you please show the full log when you restart hass.io and your configuration.yaml?

Found the bug, Shelly Devices custom component was trying to create a version sensor but had some error in the script. Thanks!