We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7bcb74 commit b320739Copy full SHA for b320739
plugwise/helper.py
@@ -1427,7 +1427,7 @@ def _update_device_with_dicts(
1427
if self._opentherm_device or self._on_off_device:
1428
bs_dict[key] = value # type: ignore[literal-required]
1429
for item in SENSORS:
1430
- if item == key:
+ if item == key and not isinstance(value, dict):
1431
data.pop(key) # type: ignore [misc]
1432
s_dict[key] = value # type: ignore[literal-required]
1433
for item in SWITCHES:
0 commit comments