File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -321,6 +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+ # ModelSupportsVaneVertical and ModelSupportsVaneHorizontal are swapped in the API
324325 if not device .get ("ModelSupportsVaneVertical" , False ):
325326 return []
326327
@@ -351,6 +352,7 @@ def vane_vertical_positions(self) -> Optional[List[str]]:
351352 if self ._device_conf .get ("HideVaneControls" , False ):
352353 return []
353354 device = self ._device_conf .get ("Device" , {})
355+ # ModelSupportsVaneHorizontal and ModelSupportsVaneVertical are swapped in the API
354356 if not device .get ("ModelSupportsVaneHorizontal" , False ):
355357 return []
356358
You can’t perform that action at this time.
0 commit comments