26 ClimateIR(
float minimum_temperature,
float maximum_temperature,
float temperature_step = 1.0f,
27 bool supports_dry =
false,
bool supports_fan_only =
false, std::set<climate::ClimateFanMode> fan_modes = {},
28 std::set<climate::ClimateSwingMode> swing_modes = {}, std::set<climate::ClimatePreset> presets = {}) {
39 void setup()
override;
65 std::set<climate::ClimatePreset>
presets_ = {};
This class is used to encode all control actions on a climate device.
ClimateDevice - This is the base class for all climate integrations.
This class contains all static data for climate devices.
std::set< climate::ClimateFanMode > fan_modes_
void dump_config() override
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={})
climate::ClimateTraits traits() override
Return the traits of this controller.
std::set< climate::ClimatePreset > presets_
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
std::set< climate::ClimateSwingMode > swing_modes_
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.