Skip to content

Commit

Permalink
Update constants.py to include AnlageType WAERMEPUMPE
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaldhor authored and DarwinsBuddy committed Jul 16, 2024
1 parent 9659125 commit 28431d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/wnsm/api/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class AnlageType(enum.Enum):
def from_str(label):
if label in ('TAGSTROM', 'tagstrom'):
return AnlageType.CONSUMING
elif label in ('WAERMEPUMPE', 'waermepumpe'):
return AnlageType.CONSUMING
elif label in ('BEZUG', 'bezug'):
return AnlageType.FEEDING
else:
Expand Down

0 comments on commit 28431d8

Please sign in to comment.