Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Sander0542
Copy link

Proposed Changes

Swap the ModelSupportsVaneHorizontal and ModelSupportsVaneVertical flags in the positions properties

Related Issues

Closes #3

Copy link

@antlarr antlarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be interesting to add a comment before each of these changes saying something like "Note that the horizontal and vertical fields are swapped in the device information returned by the MELCloud API so the next line is actually right", so that nobody reads the code in the future and thinks "This seems wrong, I'll fix it".

Appart from that, the change itself looks fine to me and should fix an issue that has been reported by MANY users of home assistant with MELCloud ac systems that only support vertical vanes.

@Sander0542
Copy link
Author

Thanks for the suggestion @antlarr. I just pushed a commit with comments in the code

@Sander0542
Copy link
Author

@erwindouna could you have a look at this PR, please?

@erwindouna erwindouna added the enhancement New feature or request label Sep 23, 2025
@erwindouna
Copy link
Owner

Thanks for submitting the PR, @Sander0542! Sorry that it got overlooked. I'll merge it and try to make a new releases anytime soon! :)

@erwindouna erwindouna merged commit 192d68d into erwindouna:master Sep 23, 2025
1 of 2 checks passed
@Sander0542
Copy link
Author

Thanks for submitting the PR, @Sander0542! Sorry that it got overlooked. I'll merge it and try to make a new releases anytime soon! :)

Thank you for merging!

@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ModelSupportsVaneVertical and ModelSupportsVaneHorizontal swapped in the API

3 participants