Skip to content

Commit 2128563

Browse files
committed
No extension for phase-related
1 parent c85afb3 commit 2128563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ def _power_data_peak_value(self, direct_data: DeviceData, loc: Munch) -> Munch:
11421142
if "gas" in loc.measurement:
11431143
loc.key_string = f"{loc.measurement}_{log_found}"
11441144
if "phase" in loc.measurement:
1145-
loc.key_string = f"{loc.measurement}_{log_found}"
1145+
loc.key_string = f"{loc.measurement}"
11461146
loc.net_string = f"net_electricity_{log_found}"
11471147
val = loc.logs.find(loc.locator).text
11481148
loc.f_val = power_data_local_format(loc.attrs, loc.key_string, val)

0 commit comments

Comments
 (0)