|
ESPHome 2025.10.5
|
Data Structures | |
| class | Climate |
| ClimateDevice - This is the base class for all climate integrations. More... | |
| class | ClimateCall |
| This class is used to encode all control actions on a climate device. More... | |
| struct | ClimateDeviceRestoreState |
| Struct used to save the state of the climate device in restore memory. More... | |
| class | ClimateTraits |
| This class contains all static data for climate devices. More... | |
| class | ControlAction |
| class | ControlTrigger |
| class | StateTrigger |
Functions | |
| template<typename T1 , typename T2 > | |
| bool | set_alternative (optional< T1 > &dst, optional< T2 > &alt, const T1 &src) |
| struct esphome::climate::ClimateDeviceRestoreState | __attribute__ ((packed)) |
| const LogString * | climate_mode_to_string (ClimateMode mode) |
| Convert the given ClimateMode to a human-readable string. | |
| const LogString * | climate_action_to_string (ClimateAction action) |
| Convert the given ClimateAction to a human-readable string. | |
| const LogString * | climate_fan_mode_to_string (ClimateFanMode mode) |
| Convert the given ClimateFanMode to a human-readable string. | |
| const LogString * | climate_swing_mode_to_string (ClimateSwingMode mode) |
| Convert the given ClimateSwingMode to a human-readable string. | |
| const LogString * | climate_preset_to_string (ClimatePreset preset) |
| Convert the given PresetMode to a human-readable string. | |
Variables | |
| esphome::climate::Climate | __attribute__ |
| enum esphome::climate::ClimateAction : uint8_t |
Enum for the current action of the climate device. Values match those of ClimateMode.
Definition at line 31 of file climate_mode.h.
| enum esphome::climate::ClimateFanMode : uint8_t |
Definition at line 46 of file climate_mode.h.
| enum esphome::climate::ClimateMode : uint8_t |
Enum for all modes a climate device can be in.
Definition at line 10 of file climate_mode.h.
| enum esphome::climate::ClimatePreset : uint8_t |
Enum for all preset modes.
| Enumerator | |
|---|---|
| CLIMATE_PRESET_NONE | No preset is active. |
| CLIMATE_PRESET_HOME | Device is in home preset. |
| CLIMATE_PRESET_AWAY | Device is in away preset. |
| CLIMATE_PRESET_BOOST | Device is in boost preset. |
| CLIMATE_PRESET_COMFORT | Device is in comfort preset. |
| CLIMATE_PRESET_ECO | Device is running an energy-saving preset. |
| CLIMATE_PRESET_SLEEP | Device is prepared for sleep. |
| CLIMATE_PRESET_ACTIVITY | Device is reacting to activity (e.g., movement sensors) |
Definition at line 82 of file climate_mode.h.
| enum esphome::climate::ClimateSwingMode : uint8_t |
Enum for all modes a climate swing can be in.
Definition at line 70 of file climate_mode.h.
| struct esphome::climate::ClimateDeviceRestoreState esphome::climate::__attribute__ | ( | (packed) | ) |
| const LogString * esphome::climate::climate_action_to_string | ( | ClimateAction | action | ) |
Convert the given ClimateAction to a human-readable string.
Definition at line 26 of file climate_mode.cpp.
| const LogString * esphome::climate::climate_fan_mode_to_string | ( | ClimateFanMode | fan_mode | ) |
Convert the given ClimateFanMode to a human-readable string.
Definition at line 45 of file climate_mode.cpp.
| const LogString * esphome::climate::climate_mode_to_string | ( | ClimateMode | mode | ) |
Convert the given ClimateMode to a human-readable string.
Definition at line 6 of file climate_mode.cpp.
| const LogString * esphome::climate::climate_preset_to_string | ( | ClimatePreset | preset | ) |
Convert the given PresetMode to a human-readable string.
Definition at line 87 of file climate_mode.cpp.
| const LogString * esphome::climate::climate_swing_mode_to_string | ( | ClimateSwingMode | swing_mode | ) |
Convert the given ClimateSwingMode to a human-readable string.
Definition at line 72 of file climate_mode.cpp.
| bool esphome::climate::set_alternative | ( | optional< T1 > & | dst, |
| optional< T2 > & | alt, | ||
| const T1 & | src ) |
Definition at line 548 of file climate.cpp.
| esphome::climate::Climate esphome::climate::__attribute__ |