Skip to content

Commit

Permalink
Update offset_coordinator_standalone.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elden1337 authored Nov 9, 2023
1 parent efca065 commit b5bc9ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def prices_tomorrow(self) -> list:
@property
def offsets(self) -> dict:
if not len(self.hours.offsets):
lenpr = len(self.hours.prices)
lenpr = len(self.prices)
_LOGGER.warning(f"Unable to get offsets. The prices available for today are {lenpr}")
return self.hours.offsets

Expand Down

0 comments on commit b5bc9ac

Please sign in to comment.