Skip to content

Commit d8b7f5f

Browse files
committed
Don't stop collecting entity data for Anna P1
1 parent 43d5de6 commit d8b7f5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise/helper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ def _get_measurement_data(self, entity_id: str) -> GwEntityData:
328328
if entity["dev_class"] == "smartmeter":
329329
data.update(self._power_data_from_location())
330330

331-
return data
331+
if not self.smile.anna_p1:
332+
return data
332333

333334
# Get non-P1 data from APPLIANCES
334335
measurements = DEVICE_MEASUREMENTS

0 commit comments

Comments
 (0)