Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
evenisse authored Dec 16, 2022
1 parent d4d31a3 commit eef163c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/export_home_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def convert_kw_to_euro(value, price):
offpeak_hour = getattr(usage_point, f"offpeak_hours_{idx}")
if type(offpeak_hour) != str:
Log().error([
f"offpeak_hours_{idx} n'est pas une chaine de caractère",
" Format si une seul période : 00H00-06H00",
f"offpeak_hours_{idx} n'est pas une chaine de caractères",
" Format si une seule période : 00H00-06H00",
" Format si plusieurs périodes : 00H00-06H00;12H00-14H00"
])
else:
Expand Down

0 comments on commit eef163c

Please sign in to comment.