J-Lindvig/Fuelprices_DK

Outdated

Opened this issue · 1 comments

2024-08-08 16:29:47.680 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'fuelprices_dk' accesses hass.helpers.discovery. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from discovery directly at custom_components/fuelprices_dk/init.py, line 45: hass.helpers.discovery.async_load_platform(CONF_PLATFORM, DOMAIN, conf, config), please create a bug report at https://github.com/J-Lindvig/Fuelprices_DK/issues

mm98 commented

I've updated my previous PR #23. You can also fix it locally by yourself, if you make the following changes: 90cc211