Skip to content

Commit 91d377e

Browse files
committed
Improve comment
1 parent 35a7796 commit 91d377e

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
@@ -608,7 +608,7 @@ def _appliance_measurements(
608608
self._count += len(data["sensors"]) - 1
609609
if "switches" in data:
610610
self._count += len(data["switches"]) -1
611-
# Count the remaining single data items,
611+
# Count the remaining single data items, with the sub-dicts present already subtracted
612612
self._count += len(data)
613613

614614
def _get_toggle_state(

0 commit comments

Comments
 (0)