Hello,
i am a noob but try using and learning HA.
In my integrations i had the Plugwise Anna thermostat detected and tryed to configere it.
But it false and gives me the following error:
2022-10-12 11:34:12.392 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Smile for plugwise
File “/usr/src/homeassistant/homeassistant/components/plugwise/init.py”, line 13, in async_setup_entry
File “/usr/src/homeassistant/homeassistant/components/plugwise/gateway.py”, line 59, in async_setup_entry_gw
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 142, in get_all_devices
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 80, in _all_device_data
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 226, in _get_device_data
File “/usr/local/lib/python3.10/site-packages/plugwise/helper.py”, line 908, in _get_appliance_data
2022-10-12 11:36:49.572 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Smile for plugwise
File “/usr/src/homeassistant/homeassistant/components/plugwise/init.py”, line 13, in async_setup_entry
File “/usr/src/homeassistant/homeassistant/components/plugwise/gateway.py”, line 59, in async_setup_entry_gw
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 142, in get_all_devices
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 80, in _all_device_data
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 226, in _get_device_data
File “/usr/local/lib/python3.10/site-packages/plugwise/helper.py”, line 908, in _get_appliance_data
I could not find a topic or tutorial on errors. Maybe someone here can help me.
Thanks in advance
Hello, I’m one of the Plugwise integration code owners.
There is not enough information in the log-lines you show above to be able to pinpoint the error.
Are there any more messages shown in the LOGBOEK, related to the Plugwise integration?
Logger: homeassistant.config_entries
Source: components/plugwise/gateway.py:59
First occurred: 11:15:13 AM (1 occurrences)
Last logged: 11:15:13 AM
Error setting up entry Smile for plugwise
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 365, in async_setup
result = await component.async_setup_entry(hass, self)
File “/usr/src/homeassistant/homeassistant/components/plugwise/init.py”, line 13, in async_setup_entry
return await async_setup_entry_gw(hass, entry)
File “/usr/src/homeassistant/homeassistant/components/plugwise/gateway.py”, line 59, in async_setup_entry_gw
api.get_all_devices()
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 142, in get_all_devices
self._all_device_data()
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 80, in _all_device_data
data = self._get_device_data(device_id)
File “/usr/local/lib/python3.10/site-packages/plugwise/smile.py”, line 226, in _get_device_data
device_data = self._get_appliance_data(dev_id)
File “/usr/local/lib/python3.10/site-packages/plugwise/helper.py”, line 908, in _get_appliance_data
self._lortherm_cooling_active = data[“modulation_level”] == 100
KeyError: ‘modulation_level’
In the meantime, I’m adding more fixes and features to the Plugwise integration during the coming week.
So they might skip the above bugfix and wait for me to finish the ongoing stuff.
So I’m expect this bug to be fixed in HA Core 2022.11.0