Tuya Integration and HACS Error

Hi everyone! I have two issues I’m hoping to get help with.

First, I purchased the below energy monitors to monitor the energy used by my washer and dryer. At times, the data from the energy monitors does not seem to flow over to Home Assistant. I have to open the Tuya app and “wake up” the devices before I see energy readings. I did some research and another user stated that the HACS version of the Tuya integration solves this problem. Is this true or should I pursue another approach?

If HACS is recommended, I’m actually having a problem with HACS starting. I get the below error message and can’t seem to figure out the issue. I’ve removed it completely and reinstalled with no change. Any assistance with the error would be greatly appreciated! Thank you!

> Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: June 2, 2025 at 10:18:40 PM (2 occurrences)
Last logged: 8:33:27 AM
Error setting up entry for hacs
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/__init__.py", line 246, in async_setup_entry
    setup_result = await async_initialize_integration(hass=hass, config_entry=config_entry)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/__init__.py", line 214, in async_initialize_integration
    await async_try_startup()
  File "/config/custom_components/hacs/__init__.py", line 201, in async_try_startup
    startup_result = await async_startup()
                     ^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/__init__.py", line 170, in async_startup
    async_register_frontend(hass, hacs)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/config/custom_components/hacs/frontend.py", line 68, in async_register_frontend
    hass.components.frontend.async_register_built_in_panel(
    ^^^^^^^^^^^^^^^
AttributeError: 'HomeAssistant' object has no attribute 'components'

Hello Jonathan Addair,

HACS is a custom integration that makes it easier to load stuff from GitHub. Any of those can be searched independently and installed without installing HACS. There is no such thing as a HACS Integration.

If you are looking to fix HACS, I’m thinking you still have the version 1.X loaded.

Search in the forum here or HACS to update it to the 2.X version. If you think you are on the 2.x version already, you may want to look at un-install and re-install of HACS.
Tips on Searching for Answers & Duplicate Topics in the Forum