17 : climate_ir::
ClimateIR(COOLIX_TEMP_MIN, COOLIX_TEMP_MAX, 1.0f, true, true,
This class is used to encode all control actions on a climate device.
The fan mode is set to Low.
ClimateSwingMode swing_mode
The active swing mode of the climate device.
const optional< ClimateMode > & get_mode() const
const uint8_t COOLIX_TEMP_MAX
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
const uint8_t COOLIX_TEMP_MIN
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR Buffer.
The fan mode is set to Auto.
static bool on_coolix(climate::Climate *parent, remote_base::RemoteReceiveData data)
This static method can be used in other climate components that accept the Coolix protocol...
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
ClimateIR(float minimum_temperature, float maximum_temperature, float temperature_step=1.0f, bool supports_dry=false, bool supports_fan_only=false, std::set< climate::ClimateFanMode > fan_modes={}, std::set< climate::ClimateSwingMode > swing_modes={}, std::set< climate::ClimatePreset > presets={})
void transmit_state() override
Transmit via IR the state of this climate controller.
The fan mode is set to Vertical.
The fan mode is set to High.
The swing mode is set to Off.
The climate device is off.
const optional< ClimateSwingMode > & get_swing_mode() const
Implementation of SPI Controller mode.
The fan mode is set to Medium.
ClimateDevice - This is the base class for all climate integrations.