Skip to content

Commit 4ccbd94

Browse files
committed
Search for point in log_type
1 parent ec49d41 commit 4ccbd94

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
@@ -1206,7 +1206,7 @@ def _power_data_peak_value(self, direct_data: DeviceData, loc: Munch) -> Munch:
12061206
loc.found = False
12071207
return loc
12081208
# P1 legacy point_meter has no tariff_indicator
1209-
elif "point" in loc.measurement:
1209+
elif "point" in loc.log_type:
12101210
LOGGER.debug("HOI point_meter")
12111211
loc.locator = (
12121212
f"./{loc.meas_list[0]}_{loc.log_type}/"

0 commit comments

Comments
 (0)