-
Notifications
You must be signed in to change notification settings - Fork 17
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hass.helpers.discovery will stop working in Home Assistant 2024.11 #23
Comments
Hello, I updated to HA 2024.5.4 and now have following issues: Detected that custom integration 'nano_pk' 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/nano_pk/init.py, line 43: await hass.helpers.discovery.async_load_platform('sensor', DOMAIN, {}, config), please report it to the author of the 'nano_pk' custom integration Seems this is same context. |
pull request for a possibel fix for file: init.py. Works for me without any warnings or errors in log.... |
I also get the same error messages in my logs; |
I tried to make a fix for this. You can take a look at my pull request to this, if you want. Would be great if you want to test it. Please replay here if it's working for you - or not... |
Hello!
Im using latest HA 2024.5.2
I discovered following warning in the logs:
Detected that custom integration 'nano_pk' 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/nano_pk/init.py
Perhaps you can look into this please?
The text was updated successfully, but these errors were encountered: