Have been using the simplest configuration where have an input select for temperatures and an IR blasterto send the codes to air cond. Works but not good enough. Stumbled upon the ToniA heatpump library
https://github.com/ToniA/arduino-heatpumpir which can properly control the air cond and is availabe for the ESP and arduino.
So now i’m thinking of how to utilise this into climate component?
This library expects a 32bit hex number wth the following structure and this can be sent
12345678
3 MODEL
4 POWER
5 OPERATING MODE
6 FAN SPEED
78 TEMPERATURE IN HEX
00213416 (as an example of a valid code)
00 = always two zeros
2 = PanasonicJKE
1 = Power ON
3 = COOL
4 = FAN 4
16 = Temperature 22 degrees (0x16 = 22)