tahvane1 / jablotron80

Jablotron 80 integration for Home assistant
21 stars 11 forks source link

After update to HA 2022.06 I get the following "WARNING MESSAGE" #134

Closed blavak68 closed 2 years ago

blavak68 commented 2 years ago

Logger: homeassistant.helpers.frame Source: helpers/frame.py:103 First occurred: 23:39:27 (2 occurrences) Last logged: 23:39:27

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 jablotron80 using this method at custom_components/jablotron80/init.py, line 39: device_registry = await dr.async_get_registry(hass)

blavak68 commented 2 years ago

change code on line 39

remove
device_registry = await dr.async_get_registry(hass)
new
device_registry = dr.async_get(hass)
tahvane1 commented 2 years ago

This has been changed now. Thank you for reporting.