This class is used to encode all control actions on a climate device.
The fan mode is set to Low.
ClimateMode mode
The active mode of the climate device.
void transmit_state() override
Transmit via IR the state of this climate controller.
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
Model
Simple enum to represent models.
int32_t last_transmit_time_
Set the time of the last transmission.
Temperature range is from 18 to 32.
The fan mode is set to Auto.
void set_model(Model model)
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={})
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.
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
const float WHIRLPOOL_DG11J1_91_TEMP_MAX
const float WHIRLPOOL_DG11J1_3A_TEMP_MIN
const float WHIRLPOOL_DG11J1_3A_TEMP_MAX
const optional< ClimateSwingMode > & get_swing_mode() const
Implementation of SPI Controller mode.
The fan mode is set to Medium.
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR Buffer.
const float WHIRLPOOL_DG11J1_91_TEMP_MIN