From 28431d83650d00e5c4f789ebe405bd108a76c6b0 Mon Sep 17 00:00:00 2001 From: Florian Kolb <31501365+Skaldhor@users.noreply.github.com> Date: Tue, 16 Jul 2024 21:33:33 +0200 Subject: [PATCH] Update constants.py to include AnlageType WAERMEPUMPE --- custom_components/wnsm/api/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/wnsm/api/constants.py b/custom_components/wnsm/api/constants.py index 74e5f29..fcd467b 100644 --- a/custom_components/wnsm/api/constants.py +++ b/custom_components/wnsm/api/constants.py @@ -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: