Skip to content

Instantly share code, notes, and snippets.

View liads's full-sized avatar

Liad Shani liads

View GitHub Profile
@liads
liads / ElectraClimate.h
Created June 16, 2019 20:53
ESPHome climate component for Electra AC (RC-3 IR remote)
#include "esphome.h"
static const char *TAG = "electra.climate";
typedef enum IRElectraMode {
IRElectraModeCool = 0b001,
IRElectraModeHeat = 0b010,
IRElectraModeAuto = 0b011,
IRElectraModeDry = 0b100,
IRElectraModeFan = 0b101,