Skip to content

Commit b320739

Browse files
committed
Numbers are not sensors
1 parent f7bcb74 commit b320739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ def _update_device_with_dicts(
14271427
if self._opentherm_device or self._on_off_device:
14281428
bs_dict[key] = value # type: ignore[literal-required]
14291429
for item in SENSORS:
1430-
if item == key:
1430+
if item == key and not isinstance(value, dict):
14311431
data.pop(key) # type: ignore [misc]
14321432
s_dict[key] = value # type: ignore[literal-required]
14331433
for item in SWITCHES:

0 commit comments

Comments
 (0)