Skip to content

Commit 36b1ef7

Browse files
authored
fix: Swap ModelSupportsVaneHorizontal and ModelSupportsVaneVertical
1 parent 2cd5de1 commit 36b1ef7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pymelcloud/ata_device.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def vane_horizontal_positions(self) -> Optional[List[str]]:
321321
if self._device_conf.get("HideVaneControls", False):
322322
return []
323323
device = self._device_conf.get("Device", {})
324-
if not device.get("ModelSupportsVaneHorizontal", False):
324+
if not device.get("ModelSupportsVaneVertical", False):
325325
return []
326326

327327
positions = [
@@ -351,7 +351,7 @@ def vane_vertical_positions(self) -> Optional[List[str]]:
351351
if self._device_conf.get("HideVaneControls", False):
352352
return []
353353
device = self._device_conf.get("Device", {})
354-
if not device.get("ModelSupportsVaneVertical", False):
354+
if not device.get("ModelSupportsVaneHorizontal", False):
355355
return []
356356

357357
positions = [

0 commit comments

Comments
 (0)