6 #include <Appliance/AirConditioner/AirConditioner.h> 16 using climate::ClimateCall;
18 using climate::ClimateTraits;
This class is used to encode all control actions on a climate device.
void on_status_change() override
std::set< std::string > supported_custom_presets_
ClimatePreset
Enum for all preset modes.
dudanov::midea::ac::AirConditioner base_
This class contains all static data for climate devices.
void do_follow_me(float temperature, bool beeper=false)
ClimateMode mode
The active mode of the climate device.
std::set< ClimateSwingMode > supported_swing_modes_
void set_supported_modes(const std::set< ClimateMode > &modes)
ClimateSwingMode
Enum for all modes a climate swing can be in.
void set_outdoor_temperature_sensor(Sensor *sensor)
std::set< ClimatePreset > supported_presets_
void control(const ClimateCall &call) override
std::set< std::string > supported_custom_fan_modes_
void set_supported_presets(const std::set< ClimatePreset > &presets)
void set_custom_fan_modes(const std::set< std::string > &modes)
void set_custom_presets(const std::set< std::string > &presets)
ClimateMode
Enum for all modes a climate device can be in.
void set_supported_swing_modes(const std::set< ClimateSwingMode > &modes)
std::set< ClimateMode > supported_modes_
void set_humidity_setpoint_sensor(Sensor *sensor)
void set_beeper_feedback(bool state)
ClimateTraits traits() override
void dump_config() override
Implementation of SPI Controller mode.
Base-class for all sensors.
void set_power_sensor(Sensor *sensor)
esphome::sensor::Sensor * sensor
Sensor * humidity_sensor_
ClimateDevice - This is the base class for all climate integrations.