19 : climate_ir::
ClimateIR(TEMP_MIN_C, TEMP_MAX_C, 1.0, true, true,
This class is used to encode all control actions on a climate device.
The fan mode is set to Low.
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR Buffer.
void transmit_(uint32_t value)
float maximum_temperature_
void set_fahrenheit(bool value)
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
climate::ClimateMode mode_before_
float minimum_temperature_
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.
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 High.
ClimateMode
Enum for all modes a climate device can be in.
The climate device is off.
Implementation of SPI Controller mode.
The fan mode is set to Medium.
constexpr float fahrenheit_to_celsius(float value)
Convert degrees Fahrenheit to degrees Celsius.