Skip to content

Commit f9d9b6a

Browse files
committed
Correct broken sensor-naming
1 parent 2eae7e2 commit f9d9b6a

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
@@ -1233,7 +1233,7 @@ def _power_data_peak_value(self, direct_data: DeviceData, loc: Munch) -> Munch:
12331233
peak = "off_peak"
12341234
log_found = loc.log_type.split("_")[0]
12351235
loc.key_string = f"{loc.measurement}_{peak}_{log_found}"
1236-
if "gas" in loc.measurement or "point" in loc.log_type:
1236+
if "gas" in loc.measurement or "point_meter" in loc.log_type:
12371237
loc.key_string = f"{loc.measurement}_{log_found}"
12381238
if "phase" in loc.measurement:
12391239
loc.key_string = f"{loc.measurement}"

0 commit comments

Comments
 (0)