Pirate-Weather / pirate-weather-ha

Replacement for the default Dark Sky Home Assistant integration using Pirate Weather
https://pirateweather.net/
Apache License 2.0
369 stars 26 forks source link

Detected that custom integration 'pirateweather' calls async_forward_entry_setup for integration, pirateweather #273

Closed dhover closed 3 months ago

dhover commented 4 months ago

Describe the bug

Warning in log

Expected behavior

No warnings

Actual behavior

integrations works fine but warnings

Home Assistant version

2024.7.4

Integration version

1.5.3

Other details

2024-08-01 14:49:40.820 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'pirateweather' calls async_forward_entry_setup for integration, pirateweather with title: PirateWeather and entry_id: 10e46c8764e4a4edab3a3108534c259b, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/pirateweather/__init__.py, line 122: await hass.config_entries.async_forward_entry_setup(entry, PLATFORMS[1]), please create a bug report at https://github.com/alexander0042/pirate-weather-ha/issues

Troubleshooting steps

cloneofghosts commented 3 months ago

Thanks for the report. I've fixed the issue and I've released a beta version 1.5.4b1 with the fix. I've tested this on my end in a devcontainer and ran into no issues but it would be nice if you could try on your end to make sure everything is works as it should.

dhover commented 3 months ago

I can confirm the error is gone and the integrations is working fine. Thanks!

cloneofghosts commented 3 months ago

Stable version has been released. Thanks for confirming that everything is working fine after the update.