jeatheak / Mitsubishi-WF-RAC-Integration

WF-RAC homeassistant integration
MIT License
101 stars 19 forks source link

Fixed bug when setting swing modes. #60

Closed nhale25 closed 8 months ago

nhale25 commented 8 months ago

In async_set_swing_mode() and async_set_horizontal_swing_mode(), _swing_lr and _swing_ud get incorrectly set to strings instead of the translated (integer) values.

This causes the command to be incorrectly encoded and the A/C unit responds with HTTP 501 .