ESPHome  2024.11.3
Static Public Member Functions
esphome::midea::ac::Converters Class Reference

#include <ac_adapter.h>

Static Public Member Functions

static MideaMode to_midea_mode (ClimateMode mode)
 
static ClimateMode to_climate_mode (MideaMode mode)
 
static MideaSwingMode to_midea_swing_mode (ClimateSwingMode mode)
 
static ClimateSwingMode to_climate_swing_mode (MideaSwingMode mode)
 
static MideaPreset to_midea_preset (ClimatePreset preset)
 
static MideaPreset to_midea_preset (const std::string &preset)
 
static bool is_custom_midea_preset (MideaPreset preset)
 
static ClimatePreset to_climate_preset (MideaPreset preset)
 
static const std::string & to_custom_climate_preset (MideaPreset preset)
 
static MideaFanMode to_midea_fan_mode (ClimateFanMode fan_mode)
 
static MideaFanMode to_midea_fan_mode (const std::string &fan_mode)
 
static bool is_custom_midea_fan_mode (MideaFanMode fan_mode)
 
static ClimateFanMode to_climate_fan_mode (MideaFanMode fan_mode)
 
static const std::string & to_custom_climate_fan_mode (MideaFanMode fan_mode)
 
static void to_climate_traits (ClimateTraits &traits, const dudanov::midea::ac::Capabilities &capabilities)
 

Detailed Description

Definition at line 28 of file ac_adapter.h.

Member Function Documentation

◆ is_custom_midea_fan_mode()

bool esphome::midea::ac::Converters::is_custom_midea_fan_mode ( MideaFanMode  fan_mode)
static

Definition at line 101 of file ac_adapter.cpp.

◆ is_custom_midea_preset()

bool esphome::midea::ac::Converters::is_custom_midea_preset ( MideaPreset  preset)
static

Definition at line 152 of file ac_adapter.cpp.

◆ to_climate_fan_mode()

ClimateFanMode esphome::midea::ac::Converters::to_climate_fan_mode ( MideaFanMode  fan_mode)
static

Definition at line 88 of file ac_adapter.cpp.

◆ to_climate_mode()

ClimateMode esphome::midea::ac::Converters::to_climate_mode ( MideaMode  mode)
static

Definition at line 15 of file ac_adapter.cpp.

◆ to_climate_preset()

ClimatePreset esphome::midea::ac::Converters::to_climate_preset ( MideaPreset  preset)
static

Definition at line 139 of file ac_adapter.cpp.

◆ to_climate_swing_mode()

ClimateSwingMode esphome::midea::ac::Converters::to_climate_swing_mode ( MideaSwingMode  mode)
static

Definition at line 49 of file ac_adapter.cpp.

◆ to_climate_traits()

void esphome::midea::ac::Converters::to_climate_traits ( ClimateTraits traits,
const dudanov::midea::ac::Capabilities &  capabilities 
)
static

Definition at line 158 of file ac_adapter.cpp.

◆ to_custom_climate_fan_mode()

const std::string & esphome::midea::ac::Converters::to_custom_climate_fan_mode ( MideaFanMode  fan_mode)
static

Definition at line 111 of file ac_adapter.cpp.

◆ to_custom_climate_preset()

const std::string & esphome::midea::ac::Converters::to_custom_climate_preset ( MideaPreset  preset)
static

Definition at line 154 of file ac_adapter.cpp.

◆ to_midea_fan_mode() [1/2]

MideaFanMode esphome::midea::ac::Converters::to_midea_fan_mode ( ClimateFanMode  fan_mode)
static

Definition at line 75 of file ac_adapter.cpp.

◆ to_midea_fan_mode() [2/2]

MideaFanMode esphome::midea::ac::Converters::to_midea_fan_mode ( const std::string &  fan_mode)
static

Definition at line 120 of file ac_adapter.cpp.

◆ to_midea_mode()

MideaMode esphome::midea::ac::Converters::to_midea_mode ( ClimateMode  mode)
static

Definition at line 32 of file ac_adapter.cpp.

◆ to_midea_preset() [1/2]

MideaPreset esphome::midea::ac::Converters::to_midea_preset ( ClimatePreset  preset)
static

Definition at line 126 of file ac_adapter.cpp.

◆ to_midea_preset() [2/2]

MideaPreset esphome::midea::ac::Converters::to_midea_preset ( const std::string &  preset)
static

Definition at line 156 of file ac_adapter.cpp.

◆ to_midea_swing_mode()

MideaSwingMode esphome::midea::ac::Converters::to_midea_swing_mode ( ClimateSwingMode  mode)
static

Definition at line 62 of file ac_adapter.cpp.


The documentation for this class was generated from the following files: