ha_gehome: Upgrade to Home Assistant 2022.8.0 may break integration?

After upgrading to HA 2022.8.0, I’m seeing the following issues:

async_setup errors

Logger: homeassistant.config_entries
Source: custom_components/ge_home/update_coordinator.py:174
Integration: GE Home (documentation)
First occurred: 2:39:53 PM (1 occurrences)
Last logged: 2:39:53 PM

Error setting up entry <email address> for ge_home
Traceback (most recent call last):
  File "/homeassistant/custom_components/ge_home/update_coordinator.py", line 172, in async_setup
    await self.initialization_future
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hass/homeassistant/lib/python3.10/site-packages/homeassistant/config_entries.py", line 357, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/homeassistant/custom_components/ge_home/__init__.py", line 45, in async_setup_entry
    if not await coordinator.async_setup():
  File "/homeassistant/custom_components/ge_home/update_coordinator.py", line 174, in async_setup
    raise HaCannotConnect("Initialization timed out")
custom_components.ge_home.exceptions.HaCannotConnect: Initialization timed out

Repeating messages regarding “Attribute hass is None for”:

RuntimeError: Attribute hass is None for <Entity R319139N Laundry Machine State>
2022-08-03 22:09:16.099 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
    raise RuntimeError(f"Attribute hass is None for {self}")
RuntimeError: Attribute hass is None for <Entity ZR158981G Laundry Machine State>

A message in the logs regarding use of deprecated methods: fixed in dev

2022-08-03 20:17:58.788 WARNING (MainThread) [homeassistant.components.number] custom_components.ge_home.entities.common.ge_erd_number::GeErdNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.

I switched to the latest dev in hacs to see, but same issues on v0.6.3-dev3

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 40 (12 by maintainers)

Commits related to this issue

Most upvoted comments

That one is resolved in the newest dev release, so you should be good. I think I still might need to rework initialization, seems there still might be some issues with some installations.

so far so good, it’s definitely working for me now!

Can you guys try 0.6.5-dev1 and let me know if it works better for you?

Appears to have resolved it for me as well - thank you!

@simbaja @stephenjamieson @pcsmith811

FYI disabling and then enabling the GE Home Integration in the ‘Devices & Services’ section of the Settings brought everything back online.