Skip to content

Commit 7ce779a

Browse files
committed
Reorder, add debug 4
1 parent 1487964 commit 7ce779a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise/helper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,10 @@ def _get_measurement_data(self, entity_id: str) -> GwEntityData:
326326
Collect the appliance-data based on entity_id.
327327
"""
328328
data: GwEntityData = {"binary_sensors": {}, "sensors": {}, "switches": {}}
329-
# Get P1 smartmeter data from LOCATIONS
330329
entity = self.gw_entities[entity_id]
330+
LOGGER.debug("HOI entity: %s", entity)
331+
332+
# Get P1 smartmeter data from LOCATIONS
331333
smile_is_power = self.smile.type == "power"
332334
if (smile_is_power or self.smile.anna_p1) and entity.get(
333335
"dev_class"

0 commit comments

Comments
 (0)