Leviton Decora Smart WiFi Intergation Failing to Load

I had this installed and working for several years, it’s suddenly failing to load and throwing the following error:

Logger: homeassistant.config_entries
Source: config_entries.py:761
First occurred: 6:41:25 AM (1 occurrence)
Last logged: 6:41:25 AM

Error setting up entry Michael Thpmas for leviton_decora_smart_wifi
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 761, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/leviton_decora_smart_wifi/init.py”, line 75, in async_setup_entry
device_entries = hass.helpers.device_registry.async_entries_for_config_entry(
^^^^^^^^^^^^
AttributeError: ‘HomeAssistant’ object has no attribute ‘helpers’

Hi, I struggle with enabling Decora integration. Is it explained anywhere? I just sent the message detailing my confusion to Third Party Integrations. Could you shed some light on it?
Thanks!
Konstantin