-
Notifications
You must be signed in to change notification settings - Fork 4
Description
This is fixed in PR #8, but never saw an issue for it, so capturing that this is broken.
When the component is loaded, the following error shows in the log and all of the senors are "Enitity not found".
Logger: homeassistant.setup
Source: setup.py:425
First occurred: 12:47:43 PM (1 occurrence)
Last logged: 12:47:43 PM
Error during setup of component heatermeter: 'HomeAssistant' object has no attribute 'helpers'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 425, 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/heatermeter/init.py", line 133, in setup
hass.helpers.discovery.load_platform('sensor', DOMAIN, {}, config)
^^^^^^^^^^^^
AttributeError: 'HomeAssistant' object has no attribute 'helpers'