crankyoldgit / IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
GNU Lesser General Public License v2.1
2.84k stars 810 forks source link

[Bug] Fix the Coolix fan-only mode in IRac class. #2104

Closed crankyoldgit closed 3 weeks ago

crankyoldgit commented 3 weeks ago

Mode was being incorrectly set in produced message as a "Dry" command. Adjusting order of when setMode() was called fixes the issue. Add a Unit test to confirm it is fixed and catch this in future.

Fixes #2103