Add support for horizontal vane swing operation in climate integrations #553
-
I have a Mitsubishi Electric air conditioner that has both vertical and horizontal vanes that can be controlled independently. The climate entity already supports handling vertical swing operation. I'm proposing that the existing swing support is copied to allow handling for horizontal swing operation. There's a pull request that implements this proposal in home-assistant/core#49541. That pull requests also provides an example of using it with the MQTT climate integration to talk to a Mitsubishi Electric air conditioner that's plugged into an esp8266 running Tasmota with the MiElHVAC driver. Aside from the specific hardware I've implemented support for, this functionality would be useful for the control of several other brands of airconditioner. Going by the IRremoteESP8266 code, at least the aircons from the following vendors support independent setting of horizontal vane operation:
Integrations for this hardware, such as the daikin, esphome, intesishome, knx, melcloud, modbus, etc, could be updated to use the functionality in the base entity and UI controls, and provide integration and automation with everything else that home-assistant provides. |
Beta Was this translation helpful? Give feedback.
Replies: 24 comments 44 replies
-
I would also like to say that from a code complexity point of view, it's very low risk as it is literally a copy of the existing swing code. If you trust the swing code, then you can trust the horizontal swing code. |
Beta Was this translation helpful? Give feedback.
-
Another integration that could make use of this change scottyphillips/echonetlite_homeassistant#17 I wonder if it would be better to implement a SwingH and SwingV mode and leave the existing generic swing mode alone to be a bit more explicit around a general swing mode v horizontal and vertical swing. It would be up to the platform which of the three to implement. |
Beta Was this translation helpful? Give feedback.
-
Adding on Sensibo as an integration that could benefit from having two swing states e.g. vertical and horizontal independently. As of now the horizontal swing is implemented as a select entity which is not so nice. ProposalAdd a |
Beta Was this translation helpful? Give feedback.
-
This is also possible with Mitshubitsi SRK airco's in combination with the Absalum-Muc ESP integration in HomeAssistant, see absalom-muc/MHI-AC-Ctrl#77 If it's such a non-breaking easy addition, I'm wondering why the original pull-request has been closed? Or has this been implemented nonetheless? home-assistant/core#49541 |
Beta Was this translation helpful? Give feedback.
-
This would be very useful for the Daikin units, it looks the newer units get more and more swing modes and combining vertical/horizontal in one attribute makes it impossible to provide all freedom to the user. |
Beta Was this translation helpful? Give feedback.
-
Panasonic AC's also operate similarly. |
Beta Was this translation helpful? Give feedback.
-
my Mitsubishi devices have both vertical and horizontal vanes as well. Supporting those is very appreciated. |
Beta Was this translation helpful? Give feedback.
-
The Gree integration would also benefit: home-assistant/core#88368 |
Beta Was this translation helpful? Give feedback.
-
What blocks approval to extend climate devices with support for controlling horizontal and vertical swing independently? |
Beta Was this translation helpful? Give feedback.
-
My climate entities both have the individual swing options available. Shouldn't this proposal thus be closed as implemented? |
Beta Was this translation helpful? Give feedback.
-
+1 for this vertical and horizontal swing to be supported. I have MHI AC that supports selecting both swing modes. I am using the mqtt platform, but I can others would benefit also. Found this one that hasn't been mentioned beofre - jeatheak/Mitsubishi-WF-RAC-Integration#101 |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
waiting for 3 years now to implement horizontal swing modes. Tasmota supports it for years now like this: cmnd/AC/HVACSetSwingH RR why not implement it like this:
|
Beta Was this translation helpful? Give feedback.
-
Adding my +1 to this. It's the only reason I now have to go to the Sensibo and LG apps. |
Beta Was this translation helpful? Give feedback.
-
Also jumping in to ask for this, but I'll also add some input. I see several comments here about implementations that would work for individual models of climate devices, but we need to keep in mind that HA should try its best to work with any device as well as future devices. We would probably need a model where individual components can report the swing/vane positions they support instead of actual enum values that try to support everything. I think this is how integrations that have added support for this are working. |
Beta Was this translation helpful? Give feedback.
-
All the Tasmota devices via IR+MQTT could profit from this - https://github.com/hristo-atanasov/Tasmota-IRHVAC So if the PR is ready, what is missing here? Or we just talking about talking? |
Beta Was this translation helpful? Give feedback.
-
+1 for this. |
Beta Was this translation helpful? Give feedback.
-
While we lay down waiting for it to be part of this great component, what alternative way that I can add a extra dropdown to accomplish this? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Also weighing in on this one as the climate card doesn't show the horizontal swing options. |
Beta Was this translation helpful? Give feedback.
-
The design implemented in the PR linked to the architecture discussion is accepted, with the difference that we shouldn't shorten "horizontal" to "h" in the Python implementation. We should make sure to make it clear in developer documentation that devices which don't allow independent control of vertical and horizontal swing should not implement the horizontal swing mode property and service, they should instead list the possible permutations in the |
Beta Was this translation helpful? Give feedback.
-
Great news @emontnemery , will any resulting changes to HA core linked to this discussion? At some point I have to rework the daikin_onecta integration to use this new HA core feature. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Has this now been implemented? I wasn't able to find anything in the docs and more recent pull requests? Is there a current PR for this? |
Beta Was this translation helpful? Give feedback.
The design implemented in the PR linked to the architecture discussion is accepted, with the difference that we shouldn't shorten "horizontal" to "h" in the Python implementation.
We should make sure to make it clear in developer documentation that devices which don't allow independent control of vertical and horizontal swing should not implement the horizontal swing mode property and service, they should instead list the possible permutations in the
swing_modes
property.