13static constexpr const char *FAN_MODE_MINIMUM =
"Minimum";
14static constexpr const char *FAN_MODE_MAXIMUM =
"Maximum";
15static constexpr const char *
const CUSTOM_FAN_MODES[]
PROGMEM = {FAN_MODE_MINIMUM, FAN_MODE_MAXIMUM};
20 : climate_ir::ClimateIR(TEMP_MIN, TEMP_MAX,
32 void setup()
override;
62 uint8_t
echo_[SECTION2_LENGTH]{};
This class is used to encode all control actions on a climate device.
void set_supported_custom_fan_modes_static(const char *const *modes, size_t count)
Points at a static table that outlives the climate (codegen); call before any runtime copy.
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
uint8_t fan_speed_() const
uint8_t echo_[SECTION2_LENGTH]
void apply_received_(const FrameParams ¶ms)
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR buffer.
void set_vane_position(size_t index)
Set the vertical vane from the select: 0 is auto (swing vertical), 1 (highest) to 5 (lowest) are fixe...
void dump_config() override
void set_model(Model model)
SUB_SELECT(vane) protected void transmit_state() override
Transmit via IR the state of this climate controller.
constexpr float BME680_GAS_LOOKUP_TABLE_1[16] PROGMEM
@ CLIMATE_PRESET_NONE
No preset is active.
@ CLIMATE_PRESET_AWAY
Device is in away preset.
@ CLIMATE_SWING_OFF
The swing mode is set to Off.
@ CLIMATE_SWING_VERTICAL
The fan mode is set to Vertical.
@ CLIMATE_FAN_MEDIUM
The fan mode is set to Medium.
@ CLIMATE_FAN_AUTO
The fan mode is set to Auto.
@ CLIMATE_FAN_LOW
The fan mode is set to Low.
@ CLIMATE_FAN_HIGH
The fan mode is set to High.