tcarwash / home-assistant_noaa-space-weather

A home assistant custom component to integrate with the NOAA Space Weather Prediction Center API
MIT License
28 stars 5 forks source link

async_forward_entry_setup error #53

Open grahamw72 opened 4 weeks ago

grahamw72 commented 4 weeks ago

v2.0.3

Detected code that calls async_forward_entry_setup for integration noaa_space_weather with title: NOAA Space Weather and entry_id: 1c1f3f2518751136a6451fa36bcdff07, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.

Cyberes commented 4 weeks ago

I'm seeing 2 errors:

Detected code that calls async_forward_entry_setup for integration noaa_space_weather with title: NOAA Space Weather and entry_id: ..., during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
 Detected that custom integration 'noaa_space_weather' calls async_forward_entry_setup for integration, noaa_space_weather with title: NOAA Space Weather and entry_id: ..., which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/noaa_space_weather/__init__.py, line 58: hass.async_create_task(, please create a bug report at https://github.com/tcarwash/home-assistant_noaa-space-weather/issues