Skip to content

Commit 3d7e2a7

Browse files
committed
Remove pragma-no cover for set_number, needs coverage
1 parent ead0c03 commit 3d7e2a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ async def set_number(
365365
"""Set the maximum boiler- or DHW-setpoint on the Central Heating boiler or the temperature-offset on a Thermostat."""
366366
try:
367367
await self._smile_api.set_number(dev_id, key, temperature)
368-
except ConnectionFailedError as exc: # pragma no cover
369-
raise ConnectionFailedError(f"Failed to set number '{key}': {str(exc)}") from exc # pragma no cover
368+
except ConnectionFailedError as exc:
369+
raise ConnectionFailedError(f"Failed to set number '{key}': {str(exc)}") from exc
370370

371371
async def set_temperature_offset(self, dev_id: str, offset: float) -> None:
372372
"""Set the Temperature offset for thermostats that support this feature."""

0 commit comments

Comments
 (0)