So I have the cozy life integration set up for my light switches. Suddenly out of no where a few days ago it stopped working and i got this error. Anyone have any idea what could be going wrong. I dont understand code so I would appreciate any help. Thank you !!!
Logger: homeassistant.setup
Source: setup.py:426
First occurred: 00:00:58 (1 occurrence)
Last logged: 00:00:58
Error during setup of component hass_cozylife_local_pull: ‘HomeAssistant’ object has no attribute ‘helpers’
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 426, in _async_setup_component
result = await task
^^^^^^^^^^
File “/usr/local/lib/python3.13/concurrent/futures/thread.py”, line 59, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/hass_cozylife_local_pull/init.py”, line 52, in setup
hass.helpers.discovery.load_platform(‘light’, DOMAIN, {}, config)
^^^^^^^^^^^^
AttributeError: ‘HomeAssistant’ object has no attribute ‘helpers’