Andre0512 / hon

Home Assistant integration for Haier hOn: support for Haier/Candy/Hoover home appliances like washing machines and air conditioners in 28 languages.
MIT License
1.23k stars 2.49k forks source link

Set fan swing #97

Closed developerGM closed 7 months ago

developerGM commented 10 months ago

Hi, I am using this fantastic custom component for my Haier Air Conditionair and I thing that need the last icing on the cake permitting to set the fan direction

Using hOn app mobile I can set 2 swing type, vertical and horizontal. In particolar for vertical I can set 'swing' (movement) or fixed position (there are 4 fixed position) And for horizontal swing I can set 'swing' or 5 fixed position.

If you need some screen or something test I can support you.

developerGM commented 10 months ago

I am checking on log and probably the params that you should use to set are there 'windDirectionHorizontal 'windDirectionVertical

Debugging this function using hOn app mobile, I see these values:

VERTICAL SWING MODE

HOTIZONTAL SWING MODE SWING: 7 POSITION_FIXED_1: 0 POSITION_FIXED_2: 3 POSITION_FIXED_3: 4 POSITION_FIXED_4: 5 POSITION_FIXED_5: 6 image

Andre0512 commented 7 months ago

Hi, sorry it took a while :sweat_smile: Should now work with version v0.10.0

developerGM commented 7 months ago

@Andre0512 TOP!