Skip to content

Commit ec49d41

Browse files
committed
More debug
1 parent 56348fc commit ec49d41

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
@@ -187,6 +187,7 @@ def power_data_energy_diff(
187187
measurement: str, net_string: str, f_val: float | int, direct_data: DeviceData
188188
) -> DeviceData:
189189
"""Calculate differential energy."""
190+
LOGGER.debug("HOI net measurement: %s", measurement)
190191
if (
191192
"electricity" in measurement
192193
and "phase" not in measurement
@@ -207,6 +208,7 @@ def power_data_energy_diff(
207208
tmp_val = float(f"{round(tmp_val, 3):.3f}")
208209

209210
direct_data[net_string] = tmp_val # type: ignore [literal-required]
211+
LOGGER.debug("HOI %s: %s", net_string, tmp_val)
210212

211213
return direct_data
212214

0 commit comments

Comments
 (0)