All codes are NEC protocol with Address 0x20.
| Function | Command (C) | Notes |
|---|---|---|
| Power Toggle | 0x02 |
Toggles ON / OFF |
| Settings | 0x09 |
Cycles modes / settings |
| Fan Speed Up | 0x1A |
Increase fan speed |
| Fan Speed Down | 0x19 |
Decrease fan speed |
| Temp Up | 0x0A |
Increase set‑point |
| Temp Down | 0x11 |
Decrease set‑point |
remote_transmitter:
pin: GPIO17
carrier_duty_percent: 33%
switch:
- platform: template
name: AC Power
turn_on_action:
- remote_transmitter.transmit_nec:
address: 0x20
command: 0x02
repeat: 2 # NEC frames are usually repeated
# ... replicate for other commands ...