Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Aug 2, 2023
1 parent 609a994 commit 0cd75fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/peaqnext/sensors/next_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def _make_string(self, model: HourModel) -> str:
return f"{hours} {price}"

def _make_hours_display(self, model: HourModel) -> str:
if model is None:
return ""
tomorrow1: str = ""
tomorrow2: str = ""
if model.dt_start.day > datetime.now().day:
Expand Down

0 comments on commit 0cd75fd

Please sign in to comment.