ESPHome  2024.10.2
Namespaces | Enumerations | Functions
climate_mode.h File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::climate
 

Enumerations

enum  esphome::climate::ClimateMode : uint8_t {
  esphome::climate::CLIMATE_MODE_OFF = 0, esphome::climate::CLIMATE_MODE_HEAT_COOL = 1, esphome::climate::CLIMATE_MODE_COOL = 2, esphome::climate::CLIMATE_MODE_HEAT = 3,
  esphome::climate::CLIMATE_MODE_FAN_ONLY = 4, esphome::climate::CLIMATE_MODE_DRY = 5, esphome::climate::CLIMATE_MODE_AUTO = 6
}
 Enum for all modes a climate device can be in. More...
 
enum  esphome::climate::ClimateAction : uint8_t {
  esphome::climate::CLIMATE_ACTION_OFF = 0, esphome::climate::CLIMATE_ACTION_COOLING = 2, esphome::climate::CLIMATE_ACTION_HEATING = 3, esphome::climate::CLIMATE_ACTION_IDLE = 4,
  esphome::climate::CLIMATE_ACTION_DRYING = 5, esphome::climate::CLIMATE_ACTION_FAN = 6
}
 Enum for the current action of the climate device. Values match those of ClimateMode. More...
 
enum  esphome::climate::ClimateFanMode : uint8_t {
  esphome::climate::CLIMATE_FAN_ON = 0, esphome::climate::CLIMATE_FAN_OFF = 1, esphome::climate::CLIMATE_FAN_AUTO = 2, esphome::climate::CLIMATE_FAN_LOW = 3,
  esphome::climate::CLIMATE_FAN_MEDIUM = 4, esphome::climate::CLIMATE_FAN_HIGH = 5, esphome::climate::CLIMATE_FAN_MIDDLE = 6, esphome::climate::CLIMATE_FAN_FOCUS = 7,
  esphome::climate::CLIMATE_FAN_DIFFUSE = 8, esphome::climate::CLIMATE_FAN_QUIET = 9
}
 
enum  esphome::climate::ClimateSwingMode : uint8_t { esphome::climate::CLIMATE_SWING_OFF = 0, esphome::climate::CLIMATE_SWING_BOTH = 1, esphome::climate::CLIMATE_SWING_VERTICAL = 2, esphome::climate::CLIMATE_SWING_HORIZONTAL = 3 }
 Enum for all modes a climate swing can be in. More...
 
enum  esphome::climate::ClimatePreset : uint8_t {
  esphome::climate::CLIMATE_PRESET_NONE = 0, esphome::climate::CLIMATE_PRESET_HOME = 1, esphome::climate::CLIMATE_PRESET_AWAY = 2, esphome::climate::CLIMATE_PRESET_BOOST = 3,
  esphome::climate::CLIMATE_PRESET_COMFORT = 4, esphome::climate::CLIMATE_PRESET_ECO = 5, esphome::climate::CLIMATE_PRESET_SLEEP = 6, esphome::climate::CLIMATE_PRESET_ACTIVITY = 7
}
 Enum for all preset modes. More...
 

Functions

const LogString * esphome::climate::climate_mode_to_string (ClimateMode mode)
 Convert the given ClimateMode to a human-readable string. More...
 
const LogString * esphome::climate::climate_action_to_string (ClimateAction action)
 Convert the given ClimateAction to a human-readable string. More...
 
const LogString * esphome::climate::climate_fan_mode_to_string (ClimateFanMode mode)
 Convert the given ClimateFanMode to a human-readable string. More...
 
const LogString * esphome::climate::climate_swing_mode_to_string (ClimateSwingMode mode)
 Convert the given ClimateSwingMode to a human-readable string. More...
 
const LogString * esphome::climate::climate_preset_to_string (ClimatePreset preset)
 Convert the given PresetMode to a human-readable string. More...