Crappy implementation of the Haier IR protocol for air conditioner for the ESPHome climate component.
Based on this
Due to the limited number of swing modes that ESPHome supports swing_mode used in wrong way.
- CLIMATE_SWING_BOTH - swing enabled
- CLIMATE_SWING_VERTICAL - blinds top
- CLIMATE_SWING_VERTICAL - blinds bottom
If you want add this code to main ESPHome repo you can do it. You can use this code however you want.