briis / weatherbit

The weatherbit integration adds support for the weatherbit.io web service as a source for meteorological data for your location.
MIT License
33 stars 7 forks source link

deprecated `async_get_registry` #67

Closed Mariusthvdb closed 2 years ago

Mariusthvdb commented 2 years ago

Logger: homeassistant.helpers.frame Source: helpers/frame.py:103 First occurred: May 19, 2022, 10:47:18 (4 occurrences) Last logged: May 19, 2022, 10:48:20

Detected integration that uses deprecated async_get_registry to access device registry, use async_get instead. Please report issue to the custom component author for weatherbit using this method at custom_components/weatherbit/init.py, line 171: device_registry = await dr.async_get_registry(hass)

new warnings in the log ;-) 2022.6 dev etc

letting you know this is about to happen, please have a look?

briis commented 2 years ago

Perfect. Thanks @Mariusthvdb I will look in to this and make a fix ready for 2022.6

briis commented 2 years ago

Closing with release V1.0.10