26 ClimateIR(
float minimum_temperature,
float maximum_temperature,
float temperature_step = 1.0f,
27 bool supports_dry =
false,
bool supports_fan_only =
false,
41 void setup()
override;
This class is used to encode all control actions on a climate device.
ClimateDevice - This is the base class for all climate integrations.
climate::ClimatePresetMask presets_
climate::ClimateFanModeMask fan_modes_
climate::ClimateSwingModeMask swing_modes_
void dump_config() override
void control(const climate::ClimateCall &call) override
Override control to change settings of the climate device.
climate::ClimateTraits traits() override
Return the traits of this controller.
void set_sensor(sensor::Sensor *sensor)
float maximum_temperature_
void set_supports_heat(bool supports_heat)
virtual void transmit_state()=0
Transmit via IR the state of this climate controller.
bool on_receive(remote_base::RemoteReceiveData data) override
ClimateIR(float minimum_temperature, float maximum_temperature, float temperature_step=1.0f, bool supports_dry=false, bool supports_fan_only=false, climate::ClimateFanModeMask fan_modes=climate::ClimateFanModeMask(), climate::ClimateSwingModeMask swing_modes=climate::ClimateSwingModeMask(), climate::ClimatePresetMask presets=climate::ClimatePresetMask())
float minimum_temperature_
void set_supports_cool(bool supports_cool)
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.