ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant
Other
142 stars 27 forks source link

async_forward_entry_setup after the entry for integration #241

Closed ReneNulschDE closed 1 month ago

ReneNulschDE commented 1 month ago

The problem

[homeassistant.helpers.frame] Detected that custom integration 'mbapi2020' calls async_forward_entry_setup after the entry for integration, mbapi2020 with title: mbapi2020 and entry_id: b624b650c11f4c092a3a43ead6da6d6c, has been set up, without holding the setup lock that prevents the config entry from being set up multiple times. Instead await hass.config_entries.async_forward_entry_setup during setup of the config entry or call hass.config_entries.async_late_forward_entry_setups in a tracked task. This will stop working in Home Assistant 2025.1 at custom_components/mbapi2020/coordinator.py, line 60: self.hass.async_create_task(, please create a bug report at

What version of MBAPI2020 do use?

v0.15.0

What was the last working version of MBAPI2020?

NA

What type of installation are you running?

Home Assistant Core

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response