Skip to content

Commit 806ef64

Browse files
committed
Fix parameter name to use swing_horizontal_mode
Fix parameter name to use swing_horizontal_mode in async_set_swing_horizontal_mode
1 parent 7063733 commit 806ef64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

homeassistant/components/melcloud/climate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ async def async_set_swing_mode(self, swing_mode: str) -> None:
282282
"""Set vertical vane position or mode."""
283283
await self.async_set_vane_vertical(swing_mode)
284284

285-
async def async_set_swing_horizontal_mode(self, swing_mode: str) -> None:
285+
async def async_set_swing_horizontal_mode(self, swing_horizontal_mode: str) -> None:
286286
"""Set vertical vane position or mode."""
287-
await self.async_set_vane_horizontal(swing_mode)
287+
await self.async_set_vane_horizontal(swing_horizontal_mode)
288288

289289
@property
290290
def swing_modes(self) -> list[str] | None:

0 commit comments

Comments
 (0)