I built a new ESP8266 device with IR send/receive LEDs and the AC receives pronto
codes. My other ACs use coolix
which is great because there’s no need to send raw codes for each action and the Thermostat card is easy to set up.
This is the current approach to sending pronto
codes from the IR transmitter:
remote_transmitter:
pin: 3
carrier_duty_percent: 50%
switch:
- platform: template
name: "AC On"
turn_on_action:
- remote_transmitter.transmit_pronto:
data: "[0x0000, 0x006D, 0x0000, 0x0022, 0x0155, 0x00AA, ...]"
- platform: template
name: "AC Off"
turn_on_action:
- remote_transmitter.transmit_pronto:
data: "[0x0000, 0x006D, 0x0000, 0x0022, 0x0155, 0x00BB, ...]"
My questions:
1. Shouldn’t actions be a button instead of a switch?
2. Is there a way to integrate these actions into a Thermostat card? Or similar at least?
TIA