diff --git a/src/pymelcloud/ata_device.py b/src/pymelcloud/ata_device.py index b727048..dc51232 100644 --- a/src/pymelcloud/ata_device.py +++ b/src/pymelcloud/ata_device.py @@ -321,7 +321,8 @@ def vane_horizontal_positions(self) -> Optional[List[str]]: if self._device_conf.get("HideVaneControls", False): return [] device = self._device_conf.get("Device", {}) - if not device.get("ModelSupportsVaneHorizontal", False): + # ModelSupportsVaneVertical and ModelSupportsVaneHorizontal are swapped in the API + if not device.get("ModelSupportsVaneVertical", False): return [] positions = [ @@ -351,7 +352,8 @@ def vane_vertical_positions(self) -> Optional[List[str]]: if self._device_conf.get("HideVaneControls", False): return [] device = self._device_conf.get("Device", {}) - if not device.get("ModelSupportsVaneVertical", False): + # ModelSupportsVaneHorizontal and ModelSupportsVaneVertical are swapped in the API + if not device.get("ModelSupportsVaneHorizontal", False): return [] positions = [