Skip to content

Commit 4234392

Browse files
committed
Add # pragma: no cover
Anna fw 3 has single setpoints in presets, fw 4 has double setpoints
1 parent 06cb361 commit 4234392

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
@@ -803,7 +803,7 @@ def _presets(self, loc_id: str) -> dict[str, list[float]]:
803803
DEFAULT_PW_MIN,
804804
]
805805
else:
806-
presets[directive.attrib["preset"]] = [
806+
presets[directive.attrib["preset"]] = [ # pragma: no cover
807807
float(preset["setpoint"]),
808808
DEFAULT_PW_MAX,
809809
]

0 commit comments

Comments
 (0)