Skip to content

Commit 31c6e9a

Browse files
committed
Revert "Implement one more _find()"
This reverts commit 22312ac.
1 parent 95c304e commit 31c6e9a

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
@@ -1151,7 +1151,7 @@ def _power_data_peak_value(self, direct_data: DeviceData, loc: Munch) -> Munch:
11511151
no_tariffs = False
11521152

11531153
# Only once try to find P1 Legacy values
1154-
if _find(loc.logs, loc.locator) is None and self.smile_type == "power":
1154+
if loc.logs.find(loc.locator) is None and self.smile_type == "power":
11551155
no_tariffs = True
11561156
# P1 Legacy: avoid doubling the net_electricity_..._point value by skipping one peak-list option
11571157
if loc.peak_select == "nl_offpeak":

0 commit comments

Comments
 (0)