Wolf SmartSet Service: Error setting up entry * for wolflink

Hi,

I am trying to get the integration " Wolf SmartSet Service" to run on my Home Assistant 2021.8.8 running in a VM on my Synology NAS.
Unfortunately I am stuck with an error message I can’t get around.
I tried to use the search function to find a similar Problem but since this integration seem to be not very popular I didn’t find anything.

Then I tried to understand the line 129 in “init.py” mentioned in the error message, but other than the error seem to occur when fetching the parameters i have no clue what’s really going on.

So now I am hoping for someone who can point me in the right direction to where I can look for to solve this issue.

Logger: homeassistant.config_entries
Source: components/wolflink/__init__.py:129
First occurred: 15:56:16 (1 occurrences)
Last logged: 15:56:16

Error setting up entry "system name" for wolflink
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  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 98, in fetch_parameters
    result = [WolfClient._map_view(view) for view in tab_views]
  File "/usr/local/lib/python3.9/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.9/site-packages/wolf_smartset/wolf_client.py", line 169, in _map_view
    in view['SVGHeatingSchemaConfigDevices'][0]['parameters'] if 'unit' in unit])
KeyError: 'parameters'

FYI: I am using the Wolf “Interface Module Link Pro” which is obviously connected to the Wolf SmartSet Service where I can view all parameters of my heating system.

I would be happy about any comment.

Regards,
NanoLux

Hi,

I had the same problem with my Wolf Link Pro.
It was corrected in 2021.9.0b4 Beta version of HA that was distributed today.

Hi,

thanks for your replay.
I just joined the Beta, updated to Version “core-2021.9.0b5” and reinstalled the Wolf Integration after a restart. The Error Message still persists, even though the row numbers of the code seem to have changes slightly:

Logger: homeassistant.config_entries
Source: components/wolflink/__init__.py:129
First occurred: 23:22:13 (1 occurrences)
Last logged: 23:22:13

Error setting up entry SYSTEM_NAME for wolflink
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  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 98, in fetch_parameters
    result = [WolfClient._map_view(view) for view in tab_views]
  File "/usr/local/lib/python3.9/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.9/site-packages/wolf_smartset/wolf_client.py", line 169, in _map_view
    in view['SVGHeatingSchemaConfigDevices'][0]['parameters'] if 'unit' in unit])
KeyError: 'parameters'

… still no sensors in HA :frowning:

I have HA on RaspberryPI installed. Maybe different python libraries?
For me it works fine now.

Try to open an issue on GitHub for wolflink integration