File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -340,9 +340,8 @@ def _get_measurement_data(self, entity_id: str) -> GwEntityData:
340340 return data
341341
342342 # Get group data
343- measurements = GROUP_MEASUREMENTS
344343 if "members" in entity :
345- self ._collect_group_sensors (data , entity , entity_id , measurements )
344+ self ._collect_group_sensors (data , entity , entity_id , GROUP_MEASUREMENTS )
346345
347346 # Get non-P1 data from APPLIANCES
348347 measurements = DEVICE_MEASUREMENTS
@@ -380,7 +379,7 @@ def _collect_group_sensors(
380379 data : GwEntityData ,
381380 entity : GwEntityData ,
382381 entity_id : str ,
383- measurements : dict [str , DATA | UOM ],
382+ measurements : dict [str , UOM ],
384383 ) -> None :
385384 """Collect group sensors."""
386385 if (group := self ._domain_objects .find (f'./group[@id="{ entity_id } "]' )) is None :
You can’t perform that action at this time.
0 commit comments