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 1487964 commit 7ce779aCopy full SHA for 7ce779a
plugwise/helper.py
@@ -326,8 +326,10 @@ def _get_measurement_data(self, entity_id: str) -> GwEntityData:
326
Collect the appliance-data based on entity_id.
327
"""
328
data: GwEntityData = {"binary_sensors": {}, "sensors": {}, "switches": {}}
329
- # Get P1 smartmeter data from LOCATIONS
330
entity = self.gw_entities[entity_id]
+ LOGGER.debug("HOI entity: %s", entity)
331
+
332
+ # Get P1 smartmeter data from LOCATIONS
333
smile_is_power = self.smile.type == "power"
334
if (smile_is_power or self.smile.anna_p1) and entity.get(
335
"dev_class"
0 commit comments