Skip to content

Commit 0d97d18

Browse files
committed
Fix name for p1 legacy electr-point
1 parent 4ccbd94 commit 0d97d18

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
@@ -1223,7 +1223,7 @@ def _power_data_peak_value(self, direct_data: DeviceData, loc: Munch) -> Munch:
12231223
peak = "off_peak"
12241224
log_found = loc.log_type.split("_")[0]
12251225
loc.key_string = f"{loc.measurement}_{peak}_{log_found}"
1226-
if "gas" in loc.measurement:
1226+
if "gas" in loc.measurement or "point" in loc.log_type:
12271227
loc.key_string = f"{loc.measurement}_{log_found}"
12281228
if "phase" in loc.measurement:
12291229
loc.key_string = f"{loc.measurement}"

0 commit comments

Comments
 (0)