ESPHome YK-H/531E Climate Component: IR Control for AC Units

Many AC units ship with IR-only remotes and no smart control interface, making home automation integration difficult. This custom ESPHome component, modernized from @iverasp’s original work, implements the YK-H/531E IR protocol so an ESP32 or ESP8266 can control compatible air conditioners over infrared. Features In addition to what was already working I added a few features to my custom YKH531E component it includes the following capabilities: Temperature Range: 16-32°C (60-90°F) Operating Modes: Auto, Cool, Dry, Fan, Heat (heat is untested) Fan Speeds: Low, Medium, High, Auto Swing Control: Vertical swing support (Corrected) Temperature Units: Support for both Celsius and Fahrenheit (Fahrenheit added!) Installation Adding the component to your ESPHome configuration is straightforward: ...

July 11, 2025 · 3 min · 479 words · Stepan Mazurov