jason0x43 / hacs-hubitat

A Hubitat integration for Home Assistant
MIT License
191 stars 46 forks source link

Integration using deprecated async_get_registry #171

Closed jackflem1 closed 2 years ago

jackflem1 commented 2 years ago

Just upgraded to 2022.6.0 and received this message

2022-06-01 16:00:33 WARNING (MainThread) [homeassistant.helpers.frame] 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 hubitat using this method at custom_components/hubitat/hub.py, line 326: dreg = cast(DeviceRegistry, await device_registry.async_get_registry(self.hass))

jason0x43 commented 2 years ago

Funny, I just noticed that myself while making an unrelated update last night. 😄 The next beta release will use the new api.

jason0x43 commented 2 years ago

This should be fixed in v0.7.2b4 if you want to give it a try.

jasonrwise77 commented 2 years ago

Can you tell me what production version this will be available on?

jason0x43 commented 2 years ago

0.7.2. I'll probably release that tonight or tomorrow since the latest beta has been working for people.

jasonrwise77 commented 2 years ago

Wait, Did yo say 7.2? Isn't the current release 6.4? If that is the case, if I update now without the fix in place, what issues does it cause? I have to make sure this link goes undisturbed as both my HA and HE setup depend on it.

jason0x43 commented 2 years ago

This has been resolved in v0.7.2.

jackflem1 commented 1 year ago

How do I load the beta version?

Thanks. Jack

On Jun 2, 2022, at 11:21 PM, Jason Cheatham @.***> wrote:

 This should be fixed in v0.7.2b4 if you want to give it a try.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.