You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not have debug logs enabled, but caught this on the log.
2024-01-17 21:27:39.015 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up wibeee platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/wibeee/sensor.py", line 228, in async_setup_entry
device = await api.async_fetch_device_info(retries=5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wibeee/api.py", line 67, in async_fetch_device_info
device_vars = {var['id']: var['value'] for var in values['values']['variable']}
~~~~~~^^^^^^^^^^
KeyError: 'values'
The text was updated successfully, but these errors were encountered:
This happens when Wibeee does not respond with a valid XML payload (another example here). If it happens again you do not need to restart HA, it's enough to reload the integration.
I did not have debug logs enabled, but caught this on the log.
2024-01-17 21:27:39.015 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up wibeee platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/wibeee/sensor.py", line 228, in async_setup_entry
device = await api.async_fetch_device_info(retries=5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wibeee/api.py", line 67, in async_fetch_device_info
device_vars = {var['id']: var['value'] for var in values['values']['variable']}
~~~~~~^^^^^^^^^^
KeyError: 'values'
The text was updated successfully, but these errors were encountered: