core: Error setting up entry Wolf for wolflink

The problem

Im not sure since which updat the intergration is not working since update to 2022.6.4

What version of Home Assistant Core has the issue?

core-2022.6.4

What was the last working version of Home Assistant Core?

core-2022.6.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Wolflink

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: components/wolflink/__init__.py:129
First occurred: June 9, 2022, 8:22:26 PM (2 occurrences)
Last logged: 12:02:04 PM

Error setting up entry Wolf for wolflink
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 339, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/wolflink/__init__.py", line 46, in async_setup_entry
    parameters = await fetch_parameters_init(wolf_client, gateway_id, device_id)
  File "/usr/src/homeassistant/homeassistant/components/wolflink/__init__.py", line 136, in fetch_parameters_init
    return await fetch_parameters(client, gateway_id, device_id)
  File "/usr/src/homeassistant/homeassistant/components/wolflink/__init__.py", line 129, in fetch_parameters
    fetched_parameters = await client.fetch_parameters(gateway_id, device_id)
  File "/usr/local/lib/python3.9/site-packages/wolf_smartset/wolf_client.py", line 97, in fetch_parameters
    tab_views = desc[MENU_ITEMS][0][TAB_VIEWS]
KeyError: 'MenuItems'

Additional information

Ive already removed the Intergtaion and tried to reinstall it.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 28

Most upvoted comments

I just tested this for you: No problem with Wolf SmartSet App on my phone.

Tests:

  1. Connection with Wolf SmartSet App to Wolf Cloud = OK + HA Wolf Integration = OK
  2. Logout Wolf Cloud and connection with Wolf SmartSet App to local IP = OK
  3. Reboot HA = 1 + 2 Still OK

I think I have the same problem now, but only since yesterday.

`Logger: homeassistant.config_entries Source: components/wolflink/init.py:129 First occurred: 13. Oktober 2022 um 18:53:06 (1 occurrences) Last logged: 13. Oktober 2022 um 18:53:06

Error setting up entry WolfOS for wolflink Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 357, in async_setup result = await component.async_setup_entry(hass, self) File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 46, in async_setup_entry parameters = await fetch_parameters_init(wolf_client, gateway_id, device_id) File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 136, in fetch_parameters_init return await fetch_parameters(client, gateway_id, device_id) File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 129, in fetch_parameters fetched_parameters = await client.fetch_parameters(gateway_id, device_id) File “/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py”, line 97, in fetch_parameters tab_views = desc[MENU_ITEMS][0][TAB_VIEWS] KeyError: ‘MenuItems’`

Home Assistant 2022.9.7 Supervisor 2022.10.0 Operating System 9.0

Everything worked fine until yesterday. I haven’t made any updates to Home Assistant or changed anything on my LAN. Reinstalling the integration didn’t do anything - same Error. As I can see from the Wolf SmartSet app, there is a connection to the Wolf cloud.

Update: I made a new test installation (Proxmox with HA VM)

Home Assistant 2022.10.4 Supervisor 2022.10.0 Operating System 9.2 Frontend 20221010.0 - latest

Result: Same problem

Update 2: Problem solved Login Wolf Portal (Cloud) --> Remove the heating system there --> Add the heating system there again (a password with numbers, letters and lower and upper case is now required) --> Reinstall the Wolf integration --> Working

I have the same problem. I have installed the newest version 2022.9.5 Here my log file:

Logger: homeassistant.config_entries
Source: components/wolflink/__init__.py:129
First occurred: 14:38:26 (1 occurrences)
Last logged: 14:38:26

Error setting up entry CWL-300 Excellent for wolflink
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/wolflink/__init__.py", line 46, in async_setup_entry
    parameters = await fetch_parameters_init(wolf_client, gateway_id, device_id)
  File "/usr/src/homeassistant/homeassistant/components/wolflink/__init__.py", line 136, in fetch_parameters_init
    return await fetch_parameters(client, gateway_id, device_id)
  File "/usr/src/homeassistant/homeassistant/components/wolflink/__init__.py", line 129, in fetch_parameters
    fetched_parameters = await client.fetch_parameters(gateway_id, device_id)
  File "/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py", line 98, in fetch_parameters
    result = [WolfClient._map_view(view) for view in tab_views]
  File "/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py", line 98, in <listcomp>
    result = [WolfClient._map_view(view) for view in tab_views]
  File "/usr/local/lib/python3.10/site-packages/wolf_smartset/wolf_client.py", line 169, in _map_view
    in view['SVGHeatingSchemaConfigDevices'][0]['parameters'] if 'unit' in unit])
KeyError: 'parameters'

Working for me again too, after the update to 2022.7.2. Might be coincidence, but a strange one. I restarted 2022.7.1 only minutes before the update, to no avail, and after the update to 7.2 it worked again right away. The wolf portal was available and working from my net all the time, of course I checked that first.

Broken again with core-2022.7.1

File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 46, in async_setup_entry File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 136, in fetch_parameters_init File “/usr/src/homeassistant/homeassistant/components/wolflink/init.py”, line 129, in fetch_parameters

Working again with latest version.