core: ZHA no longer starts: Error setting up entry ConBee1 for zha

The problem

ZHA won’t start anymore with the following Python error logged:

image

I use a Dresden electronics ConBee 1 stick on a serial-by-id port.

Possibly caused by #35161

Environment

  • Home Assistant Core release with the issue: Home Assistant 0.110.0.dev20200508 & 0.110.0.dev20200507
  • Last working Home Assistant Core release (if known): Home Assistant 0.110.0.dev20200504 (didn’t upgrade my production system in those days between)
  • Operating environment (Home Assistant/Supervised/Docker/venv): Supervisor based system.
  • Integration causing this issue:
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml


Traceback/Error logs

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 98, in async_setup_entry
    await zha_gateway.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 141, in async_initialize
    self.application_controller = await app_controller_cls.new(
AttributeError: type object 'ControllerApplication' has no attribute 'new'

Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

Confirmed fix on my installation (I had the same issue)

Ok that made me LOL