Manage Melcloud Horizontal and Vertical Swing Modes from UI#33626
Manage Melcloud Horizontal and Vertical Swing Modes from UI#33626ollo69 wants to merge 11 commits intohome-assistant:devfrom
Conversation
|
Hey there @vilppuvuorinen, mind taking a look at this pull request as its been labeled with a integration ( |
Formatting correction
vilppuvuorinen
left a comment
There was a problem hiding this comment.
This is a neat trick to encode all of the modes into a single control, but I personally don't like this approach and there are some issues with the implementation.
For example, it looks like only one of the swing modes is returned depending on the device configuration. The position maps prevent reacting to different position combinations.
I'd rather go with the vertical control only to keep things simple.
Not true. When you set Horizontal, only Horizontal is set, same for Vertical. Changing one mode do not affect the other. and you can manage any combination. |
|
I added the comments to the diff. Best fit solution would still be to just treat the swing mode as vertical vane alias instead of trying to make it do everything. Most of the Mitsubishi air-to-air heat pumps out there do not seem to offer meaningful horizontal control anyways. |
|
Anyway, I use this solution to control my vane at all and works fine for me. Ciao. |
|
Also vote for the solution to Ollo69. Both Vertical and Horizontal vane adjust is preferred. I use both Vertical and horizontal adjustments all the time on Mitsubishi Kaiteki heatpumps. |
|
@vilppuvuorinen do you want to accept this PR or should we close? Let me know if you want to accept it and I can make a review. Otherwise we should close it. |
|
I'd like to close it. I'm hoping to get something similar cooked up, but I'm not comfortable with this approach. |
|
Ok, the I'll close now. Thank you all that participated. |
Breaking change
Proposed change
As anticipated on PR #33008, let me propose an alternativa solution for swing modes in Melcloud component, This will provide control of both Horizontal and Vertical swing modes from UI and more "Human Readable" list of states.
This will change the names of the available swing modes.
Type of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale: