There is an error when power on my ESP32 bluetooth logger

I’ve got a bluetooth logger which is scanning devices and sending them to MQTT broker. But when I power it on there is an error appears in Home Assistant:

2023-04-05 06:02:49.902 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry ESP32_BLE_GATEWAY for update
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 117, in async_setup_entry
    return await component.async_setup_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry
    raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
2023-04-05 06:02:55.977 ERROR (MainThread) [homeassistant.util.logging] Exception in setup_update_entity when dispatching 'esphome_43b551f2fa338cdfe4a0877339ddbb90_on_device_update': ()
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/esphome/update.py", line 56, in setup_update_entity
    async_add_entities([ESPHomeUpdateEntity(entry_data, dashboard)])
  File "/usr/src/homeassistant/homeassistant/components/esphome/update.py", line 90, in __init__
    if coordinator.supports_update and not self._device_info.has_deep_sleep:
  File "/usr/src/homeassistant/homeassistant/components/esphome/dashboard.py", line 91, in supports_update
    raise RuntimeError("Data needs to be loaded first")
RuntimeError: Data needs to be loaded first

What does it mean?

1 Like