core: Evohome fails to start: Zone ... ignored: Invalid model type

The problem

Integration not loading.

What version of Home Assistant Core has the issue?

core-2024.2.0

What was the last working version of Home Assistant Core?

core-2024.1.6

What type of installation are you running?

Home Assistant OS

Integration causing the issue

evohome

Link to integration documentation on our website

https://www.home-assistant.io/integrations/evohome

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.setup
Source: setup.py:333
First occurred: 01:41:28 (1 occurrences)
Last logged: 01:41:28

Error during setup of component evohome
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 333, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/evohome/__init__.py", line 240, in async_setup
    await client_v2.login()
  File "/usr/local/lib/python3.12/site-packages/evohomeasync2/base.py", line 176, in login
    await self.installation()
  File "/usr/local/lib/python3.12/site-packages/evohomeasync2/base.py", line 222, in installation
    return await self._installation()  # aka self.installation_info
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/evohomeasync2/base.py", line 248, in _installation
    await loc.refresh_status()
  File "/usr/local/lib/python3.12/site-packages/evohomeasync2/location.py", line 116, in refresh_status
    self._update_status(status)
  File "/usr/local/lib/python3.12/site-packages/evohomeasync2/location.py", line 126, in _update_status
    gwy._update_status(gwy_status)
  File "/usr/local/lib/python3.12/site-packages/evohomeasync2/gateway.py", line 76, in _update_status
    tcs._update_status(tcs_status)
  File "/usr/local/lib/python3.12/site-packages/evohomeasync2/controlsystem.py", line 183, in _update_status
    self.zones_by_id[zon_status[SZ_ZONE_ID]]._update_status(zon_status)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '3119345'

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 21 (10 by maintainers)

Most upvoted comments

@home-assistant add-label needs-more-information

Just updated to 2024.2.1 and it works!