Skip to content

Commit 07b6329

Browse files
committed
Improve data["select_dhw_mode"]
1 parent bb40c77 commit 07b6329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def _appliance_measurements(
411411
case "elga_status_code":
412412
data["elga_status_code"] = int(appl_p_loc.text)
413413
case "select_dhw_mode":
414-
data["select_dhw_mode"] = appl_p_loc.text
414+
data["select_dhw_mode"] = appl_p_loc.text or None
415415

416416
common_match_cases(measurement, attrs, appl_p_loc, data)
417417

0 commit comments

Comments
 (0)