This class is used to encode all control actions on a climate device.
ClimateMode mode
The active mode of the climate device.
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 set_model(Model model)
int32_t last_transmit_time_
Set the time of the last transmission.
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
void transmit_state() override
Transmit via IR the state of this climate controller.
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR Buffer.
@ CLIMATE_SWING_OFF
The swing mode is set to Off.
@ CLIMATE_SWING_VERTICAL
The fan mode is set to Vertical.
@ CLIMATE_MODE_OFF
The climate device is off.
@ 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.
const float WHIRLPOOL_DG11J1_91_TEMP_MIN
const float WHIRLPOOL_DG11J1_3A_TEMP_MAX
const float WHIRLPOOL_DG11J1_91_TEMP_MAX
Model
Simple enum to represent models.
@ MODEL_DG11J1_91
Temperature range is from 18 to 32.
const float WHIRLPOOL_DG11J1_3A_TEMP_MIN
Providing packet encoding functions for exchanging data with a remote host.