This class is used to encode all control actions on a climate device.
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
float maximum_temperature_
float minimum_temperature_
void transmit_(uint32_t value)
void set_fahrenheit(bool value)
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR Buffer.
climate::ClimateMode mode_before_
void transmit_state() override
Transmit via IR the state of this climate controller.
ClimateMode
Enum for all modes a climate device can be in.
@ CLIMATE_MODE_OFF
The climate device is off.
@ CLIMATE_FAN_MEDIUM
The fan mode is set to Medium.
@ CLIMATE_FAN_LOW
The fan mode is set to Low.
@ CLIMATE_FAN_HIGH
The fan mode is set to High.
constexpr float fahrenheit_to_celsius(float value)
Convert degrees Fahrenheit to degrees Celsius.