File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -881,6 +881,7 @@ def _appliance_measurements(
881881 self ._count += len (data ["binary_sensors" ])
882882 self ._count += len (data ["sensors" ])
883883 self ._count += len (data ["switches" ])
884+ # Don't count the above top-level dicts, only the remaining single items
884885 self ._count += len (data ) - 3
885886
886887 def _wireless_availablity (self , appliance : etree , data : DeviceData ) -> None :
@@ -952,9 +953,9 @@ def _get_actuator_functionalities(
952953 temp_dict ["lower_bound" ] = - 2.0
953954 temp_dict ["resolution" ] = 0.1
954955 temp_dict ["upper_bound" ] = 2.0
956+ self ._count += 3
955957 # Rename offset to setpoint
956958 key = "setpoint"
957- self ._count += 3
958959
959960 act_key = cast (ActuatorDataType , key )
960961 temp_dict [act_key ] = format_measure (function .text , TEMP_CELSIUS )
You can’t perform that action at this time.
0 commit comments