Skip to content

Commit

Permalink
Bug fix for #56 #60
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkastelec authored Apr 25, 2023
1 parent 18d0f8b commit d8c4345
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/wemportal/wemportalapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,10 @@ def scrape_pages(self, response):
"Label ist null ",
]:
value = 0.0
elif value in [
"Ein"
]:
value = 1.0
else:
unit = None

Expand Down

0 comments on commit d8c4345

Please sign in to comment.