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