custom-components / nordpool

This component allows you to pull in the energy prices into Home-Assistant.
425 stars 101 forks source link

'nordpool' calls async_forward_entry_setup for integration #386

Open hmmbob opened 3 weeks ago

hmmbob commented 3 weeks ago

Version of the custom_component

0.0.14

Homeassistant version

HA 2024.7.0b2

Describe the bug

HA 2024.7 throwns a warning

Debug log


2024-06-27 07:54:05.345 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'nordpool' calls async_forward_entry_setup for integration, nordpool with title: Nordpool and entry_id: dd4d79354b6d271af7095cc1a325272a, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/nordpool/__init__.py, line 200: hass.async_create_task(, please create a bug report at https://github.com/custom-components/nordpool/issues
rrooggiieerr commented 2 weeks ago

I created a pull request which should fix this: https://github.com/custom-components/nordpool/pull/390