We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b5cba commit 634ba61Copy full SHA for 634ba61
plugwise/helper.py
@@ -324,7 +324,7 @@ def _get_measurement_data(self, entity_id: str) -> GwEntityData:
324
# Get P1 smartmeter data from LOCATIONS
325
entity = self.gw_entities[entity_id]
326
# !! DON'T CHANGE below two if-lines, will break stuff !!
327
- if self.smile.type == "power":
+ if self.smile.type == "power" or self.smile.anna_p1:
328
if entity["dev_class"] == "smartmeter":
329
data.update(self._power_data_from_location())
330
0 commit comments