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.
dudanov::midea::ac::AirConditioner base_
void set_beeper_feedback(bool state)
ClimatePresetMask supported_presets_
void set_custom_fan_modes(std::initializer_list< const char * > modes)
void on_status_change() override
std::vector< const char * > supported_custom_presets_
void set_custom_presets(std::initializer_list< const char * > presets)
ClimateTraits traits() override
void set_supported_modes(ClimateModeMask modes)
void set_supported_swing_modes(ClimateSwingModeMask modes)
std::vector< const char * > supported_custom_fan_modes_
void set_supported_presets(ClimatePresetMask presets)
void do_follow_me(float temperature, bool use_fahrenheit, bool beeper=false)
void set_humidity_setpoint_sensor(Sensor *sensor)
ClimateSwingModeMask supported_swing_modes_
void set_power_sensor(Sensor *sensor)
void set_outdoor_temperature_sensor(Sensor *sensor)
void dump_config() override
Sensor * humidity_sensor_
void control(const ClimateCall &call) override
ClimateModeMask supported_modes_
Base-class for all sensors.
FiniteSetMask< ClimateSwingMode, DefaultBitPolicy< ClimateSwingMode, CLIMATE_SWING_HORIZONTAL+1 > > ClimateSwingModeMask
FiniteSetMask< ClimatePreset, DefaultBitPolicy< ClimatePreset, CLIMATE_PRESET_ACTIVITY+1 > > ClimatePresetMask
FiniteSetMask< ClimateMode, DefaultBitPolicy< ClimateMode, CLIMATE_MODE_AUTO+1 > > ClimateModeMask
ClimatePreset
Enum for all preset modes NOTE: If adding values, update ClimatePresetMask in climate_traits....
ClimateSwingMode
Enum for all modes a climate swing can be in NOTE: If adding values, update ClimateSwingModeMask in c...
ClimateMode
Enum for all modes a climate device can be in.
@ CLIMATE_MODE_OFF
The climate device is off.
ClimateFanMode
NOTE: If adding values, update ClimateFanModeMask in climate_traits.h to use the new last value.
Providing packet encoding functions for exchanging data with a remote host.