3#if (defined(USE_ARDUINO) && !defined(USE_RP2) && !defined(USE_LIBRETINY)) || defined(USE_ESP_IDF)
6#include <Appliance/AirConditioner/AirConditioner.h>
14using climate::ClimateCall;
16using climate::ClimateTraits;
32 SUB_SENSOR(outdoor_temperature)
33 SUB_SENSOR(humidity_setpoint)
39 void on_status_change()
override;
45 void do_follow_me(
float temperature,
bool use_fahrenheit,
bool beeper =
false);
46 void do_display_toggle();
50 void do_power_on() { this->
base_.setPowerState(
true); }
51 void do_power_off() { this->
base_.setPowerState(
false); }
virtual void dump_config()
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_
ClimateTraits traits() override
DisplayControl display_control_
bool frost_protection_set_
ClimateSwingModeMask supported_swing_modes_
void control(const ClimateCall &call) override
ClimateModeMask supported_modes_
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.