File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,8 @@ def vane_horizontal_positions(self) -> Optional[List[str]]:
321
321
if self ._device_conf .get ("HideVaneControls" , False ):
322
322
return []
323
323
device = self ._device_conf .get ("Device" , {})
324
- if not device .get ("ModelSupportsVaneHorizontal" , False ):
324
+ # ModelSupportsVaneVertical and ModelSupportsVaneHorizontal are swapped in the API
325
+ if not device .get ("ModelSupportsVaneVertical" , False ):
325
326
return []
326
327
327
328
positions = [
@@ -351,7 +352,8 @@ def vane_vertical_positions(self) -> Optional[List[str]]:
351
352
if self ._device_conf .get ("HideVaneControls" , False ):
352
353
return []
353
354
device = self ._device_conf .get ("Device" , {})
354
- if not device .get ("ModelSupportsVaneVertical" , False ):
355
+ # ModelSupportsVaneHorizontal and ModelSupportsVaneVertical are swapped in the API
356
+ if not device .get ("ModelSupportsVaneHorizontal" , False ):
355
357
return []
356
358
357
359
positions = [
You can’t perform that action at this time.
0 commit comments