Vanes logic control.
ESPHome now offer following options for vanes control OFF, BOTH, VERTICAL and HORIZONTAL. Since we can't control "horizontal" vanes via MHI-AC-Ctrl, I propose following:
OFF for 45° vertical vane position (position 3)
BOTH for vertical vane SWING
VERTICAL for highest position of vertical vane (position 1)
HORIZONTAL for lowest position of vertical vane (position 4).
You may ask: what about vane position 2? Well, I tested on my unit and difference between 1 and 2 almost negligible. So I assume 1 and 2 are the same. This way you can control vanes from climate component, without calling a service as it is currently implemented
Fan speeds:
I don't like that "quiet" mode comes after "high", so I assigned other values for FAN speeds to make it look more
aesthetic on dashboard climate card:
AUTO - well, auto
LOW - speed 1
MEDIUM - speed 2
HIGH - speed 3
DIFFUSE - speed 4
MHI-AC-Ctrl now allows specify target temperature with 0.5° C steps, so I fixed it in this PR
Bonus: config example for "simple-thermostat" HA Dashboard Card (available via HACS):
With this PR I'd like to introduce 3 fixes:
You may ask: what about vane position 2? Well, I tested on my unit and difference between 1 and 2 almost negligible. So I assume 1 and 2 are the same. This way you can control vanes from climate component, without calling a service as it is currently implemented
Bonus: config example for "simple-thermostat" HA Dashboard Card (available via HACS):