jcgoette / baby_buddy_homeassistant

This custom integration provides sensors for Baby Buddy API endpoints.
MIT License
59 stars 26 forks source link

Deprecation warning log hass.helpers.aiohttp_client in 2024.11 #150

Open jdahlgren opened 1 month ago

jdahlgren commented 1 month ago

Got a warning log in my HA stating the following three

Logger: homeassistant.helpers.frame Source: helpers/frame.py:190 First occurred: 11:46:47 (3 occurrences) Last logged: 11:47:05

Detected that custom integration 'babybuddy' accesses hass.helpers.aiohttp_client. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from aiohttp_client directly at custom_components/babybuddy/init.py, line 131: hass.helpers.aiohttp_client.async_get_clientsession(),, please create a bug report at https://github.com/jcgoette/baby_buddy_homeassistant/issues

jcgoette commented 1 month ago

Thanks! Leaving this here for future reference:

https://developers.home-assistant.io/blog/2024/03/30/deprecate-hass-helpers/