kukulich / home-assistant-jablotron100

Home Assistant custom component for JABLOTRON 100+ alarm system
MIT License
67 stars 24 forks source link

deprecated `async_get_registry` #45

Closed MartinZapaPG closed 2 years ago

MartinZapaPG commented 2 years ago

Hallo, after upgrade ha core to the 2022.6.0 version I have this warning message in ha core log:

Logger: homeassistant.helpers.frame Source: helpers/frame.py:103 First occurred: 07:32:19 (1 occurrences) Last logged: 07:32:19 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 jablotron100 using this method at custom_components/jablotron100/init.py, line 30: device_registry = await dr.async_get_registry(hass)

Home Asisstant core-2022.6.0 Jablotron integration version 3.11.0 HACS version 1.25.5

kukulich commented 2 years ago

@MartinZapaPG what’s your logger configuration?

MartinZapaPG commented 2 years ago

Hallo,

guess that is default because I haven't any logger config in my configuration.yaml now.

M.

On 2. 6. 2022, at 21:41, Jaroslav Hanslík @.***> wrote:

@MartinZapaPG https://github.com/MartinZapaPG what’s your logger configuration?

— Reply to this email directly, view it on GitHub https://github.com/kukulich/home-assistant-jablotron100/issues/45#issuecomment-1145272462, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYIHDCXCZVQ737BYFYOYYCTVNEE7PANCNFSM5XWAHLXA. You are receiving this because you were mentioned.

kukulich commented 2 years ago

Fixed in 3.11.1.