Skip to content

Commit 56348fc

Browse files
committed
More debugging
1 parent b982d36 commit 56348fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,10 +1225,12 @@ def _power_data_peak_value(self, direct_data: DeviceData, loc: Munch) -> Munch:
12251225
loc.key_string = f"{loc.measurement}_{log_found}"
12261226
if "phase" in loc.measurement:
12271227
loc.key_string = f"{loc.measurement}"
1228+
LOGGER.debug("HOI key_string: %s", loc.key_string)
12281229
loc.net_string = f"net_electricity_{log_found}"
12291230
val = loc.logs.find(loc.locator).text
12301231
loc.f_val = power_data_local_format(loc.attrs, loc.key_string, val)
12311232

1233+
LOGGER.debug("HOI value: %s", loc.f_val)
12321234
return loc
12331235

12341236
def _power_data_from_location(self, loc_id: str) -> DeviceData:

0 commit comments

Comments
 (0)