simbaja / ha_gehome

GE Home Appliances (SmartHQ) for Home Assistant
MIT License
349 stars 80 forks source link

Integration stuck at initializing and then error since I restarted my server. #279

Closed clowncracker closed 1 month ago

clowncracker commented 3 months ago

Ever since I restarted my server today, I've run into the following issue:

Source: config_entries.py:586
First occurred: 4:35:06 PM (20 occurrences)
Last logged: 4:35:26 PM

Error setting up entry xxx for climate
Error setting up entry  xxx for light
Error setting up entry  xxx for button
Error setting up entry  xxx for number
Error setting up entry  xxxor humidifier
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 231, in async_setup_entry
    return await component.async_setup_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 184, in async_setup_entry
    raise ValueError(
ValueError: Config entry  xxx ( xxx) for ge_home.binary_sensor has already been setup!

I followed the steps here: https://github.com/simbaja/ha_gehome/issues/183

I can no longer enter my credentials. I get a Failed to connect message as soon as I enter them.

image

leferm1 commented 3 months ago

Chiming in to say that I’m experiencing a similar issue, and my SmartHQ app can’t connect to the server (which is likely causing the HA integration issue) IMG_6923

smoreland4 commented 3 months ago

I found this in logs. Looks like the code needs to be updated. Anyone able to do so??

Detected that custom integration 'ge_home' calls async_forward_entry_setup for integration, ge_home with title: EMAIL@EMAIL and entry_id: UIDUIDUIDUID, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/ge_home/update_coordinator.py, line 180: self.hass.async_create_task(, please report it to the author of the 'ge_home' custom integration

smoreland4 commented 3 months ago

Looks like replacing async_forward_entry_setup with async_forward_entry_setups in the relevant part of the code would resolve it

theoneandonlyewok commented 3 months ago

Getting the same issue here, on both HA and the SmartHQ app.

admiralroflknife commented 3 months ago

Also having the same issue

kyleb822 commented 3 months ago

Add me to the list, same issue

ChrisP5602 commented 3 months ago

I also am experiencing issues since this morning

tfberg commented 3 months ago

Since the SmartHQ app is also experiencing the same my guess is that the issue is on the RESTful endpoint side and not with the integration. Just my two cents.

clowncracker commented 3 months ago

I'm not having issues with the app, but I am having issues getting it working in Home Assistant.

knobunc commented 3 months ago

I just reloaded and it works for me now. I assume it was an error on their end.