Skip to content

Commit c85afb3

Browse files
committed
Try
1 parent 74a09d8 commit c85afb3

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
@@ -1141,6 +1141,8 @@ def _power_data_peak_value(self, direct_data: DeviceData, loc: Munch) -> Munch:
11411141
loc.key_string = f"{loc.measurement}_{log_found}"
11421142
if "gas" in loc.measurement:
11431143
loc.key_string = f"{loc.measurement}_{log_found}"
1144+
if "phase" in loc.measurement:
1145+
loc.key_string = f"{loc.measurement}_{log_found}"
11441146
loc.net_string = f"net_electricity_{log_found}"
11451147
val = loc.logs.find(loc.locator).text
11461148
loc.f_val = power_data_local_format(loc.attrs, loc.key_string, val)

0 commit comments

Comments
 (0)