Skip to content

Commit

Permalink
Linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
efipso committed Aug 16, 2024
1 parent 49be3bf commit d8339f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/melcloud_custom/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ async def async_set_vane_horizontal(self, position: str) -> None:
"""Set horizontal vane position."""
if position not in self._device.vane_horizontal_positions:
raise ValueError(
f"Invalid horizontal vane position {position}. Valid positions:"
f"Invalid horizontal vane position {position}. Valid positions: "
f" [{self._device.vane_horizontal_positions}]."
)
await self._device.set({ata.PROPERTY_VANE_HORIZONTAL: position})
Expand All @@ -263,7 +263,7 @@ async def async_set_vane_vertical(self, position: str) -> None:
"""Set vertical vane position."""
if position not in self._device.vane_vertical_positions:
raise ValueError(
f"Invalid vertical vane position {position}. Valid positions:"
f"Invalid vertical vane position {position}. Valid positions: "
f" [{self._device.vane_vertical_positions}]."
)
await self._device.set({ata.PROPERTY_VANE_VERTICAL: position})
Expand Down

0 comments on commit d8339f9

Please sign in to comment.