|
ESPHome 2026.5.0
|
#include <climate_traits.h>
Protected Member Functions | |
| void | set_mode_support_ (climate::ClimateMode mode, bool supported) |
| void | set_fan_mode_support_ (climate::ClimateFanMode mode, bool supported) |
| void | set_swing_mode_support_ (climate::ClimateSwingMode mode, bool supported) |
| void | set_supported_custom_fan_modes_ (const std::vector< const char * > *modes) |
| Set custom mode pointers (only Climate::get_traits() should call these). | |
| void | set_supported_custom_presets_ (const std::vector< const char * > *presets) |
| const char * | find_custom_fan_mode_ (const char *custom_fan_mode) const |
| Find and return the matching custom fan mode pointer from supported modes, or nullptr if not found This is protected as it's an implementation detail - use Climate::find_custom_fan_mode_() instead. | |
| const char * | find_custom_fan_mode_ (const char *custom_fan_mode, size_t len) const |
| const char * | find_custom_preset_ (const char *custom_preset) const |
| Find and return the matching custom preset pointer from supported presets, or nullptr if not found This is protected as it's an implementation detail - use Climate::find_custom_preset_() instead. | |
| const char * | find_custom_preset_ (const char *custom_preset, size_t len) const |
Protected Attributes | |
| uint32_t | feature_flags_ {0} |
| float | visual_min_temperature_ {10} |
| float | visual_max_temperature_ {30} |
| float | visual_target_temperature_step_ {0.1} |
| float | visual_current_temperature_step_ {0.1} |
| float | visual_min_humidity_ {30} |
| float | visual_max_humidity_ {99} |
| climate::ClimateModeMask | supported_modes_ {climate::CLIMATE_MODE_OFF} |
| climate::ClimateFanModeMask | supported_fan_modes_ |
| climate::ClimateSwingModeMask | supported_swing_modes_ |
| climate::ClimatePresetMask | supported_presets_ |
| const std::vector< const char * > * | supported_custom_fan_modes_ {nullptr} |
| Custom mode storage - pointers to vectors owned by the Climate base class. | |
| const std::vector< const char * > * | supported_custom_presets_ {nullptr} |
| std::vector< const char * > | compat_custom_fan_modes_ |
| std::vector< const char * > | compat_custom_presets_ |
Definition at line 73 of file climate_traits.h.
|
inline |
Definition at line 79 of file climate_traits.h.
|
inline |
Definition at line 90 of file climate_traits.h.
|
inline |
Definition at line 85 of file climate_traits.h.
|
inline |
Definition at line 138 of file climate_traits.h.
|
inline |
Definition at line 175 of file climate_traits.h.
|
inline |
Definition at line 80 of file climate_traits.h.
|
inline |
Definition at line 117 of file climate_traits.h.
|
inline |
Definition at line 111 of file climate_traits.h.
|
inline |
Definition at line 105 of file climate_traits.h.
|
inline |
Definition at line 155 of file climate_traits.h.
|
inline |
Definition at line 149 of file climate_traits.h.
|
inline |
Definition at line 144 of file climate_traits.h.
|
inlineprotected |
Find and return the matching custom fan mode pointer from supported modes, or nullptr if not found This is protected as it's an implementation detail - use Climate::find_custom_fan_mode_() instead.
Definition at line 241 of file climate_traits.h.
|
inlineprotected |
Definition at line 244 of file climate_traits.h.
|
inlineprotected |
Find and return the matching custom preset pointer from supported presets, or nullptr if not found This is protected as it's an implementation detail - use Climate::find_custom_preset_() instead.
Definition at line 254 of file climate_traits.h.
|
inlineprotected |
Definition at line 257 of file climate_traits.h.
| int8_t esphome::climate::ClimateTraits::get_current_temperature_accuracy_decimals | ( | ) | const |
Definition at line 36 of file climate_traits.cpp.
|
inline |
Get/set feature flags (see ClimateFeatures enum in climate_mode.h)
Definition at line 78 of file climate_traits.h.
| const std::vector< const char * > & esphome::climate::ClimateTraits::get_supported_custom_fan_modes | ( | ) | const |
Definition at line 10 of file climate_traits.cpp.
| const std::vector< const char * > & esphome::climate::ClimateTraits::get_supported_custom_presets | ( | ) | const |
Definition at line 21 of file climate_traits.cpp.
|
inline |
Definition at line 102 of file climate_traits.h.
|
inline |
Definition at line 87 of file climate_traits.h.
|
inline |
Definition at line 141 of file climate_traits.h.
|
inline |
Definition at line 178 of file climate_traits.h.
|
inline |
Definition at line 92 of file climate_traits.h.
|
inline |
Definition at line 140 of file climate_traits.h.
|
inline |
Definition at line 177 of file climate_traits.h.
| int8_t esphome::climate::ClimateTraits::get_target_temperature_accuracy_decimals | ( | ) | const |
Definition at line 32 of file climate_traits.cpp.
|
inline |
Definition at line 189 of file climate_traits.h.
|
inline |
Definition at line 205 of file climate_traits.h.
|
inline |
Definition at line 184 of file climate_traits.h.
|
inline |
Definition at line 203 of file climate_traits.h.
|
inline |
Definition at line 180 of file climate_traits.h.
|
inline |
Definition at line 188 of file climate_traits.h.
|
inline |
Definition at line 81 of file climate_traits.h.
|
inlineprotected |
Definition at line 216 of file climate_traits.h.
|
inline |
Definition at line 82 of file climate_traits.h.
|
inlineprotected |
Definition at line 209 of file climate_traits.h.
|
delete |
|
delete |
|
inlineprotected |
Set custom mode pointers (only Climate::get_traits() should call these).
Definition at line 232 of file climate_traits.h.
|
delete |
|
delete |
|
inlineprotected |
Definition at line 235 of file climate_traits.h.
|
inline |
Definition at line 89 of file climate_traits.h.
|
inline |
Definition at line 84 of file climate_traits.h.
|
inline |
Definition at line 137 of file climate_traits.h.
|
inline |
Definition at line 174 of file climate_traits.h.
|
inlineprotected |
Definition at line 223 of file climate_traits.h.
|
inline |
Definition at line 193 of file climate_traits.h.
|
inline |
Definition at line 206 of file climate_traits.h.
|
inline |
Definition at line 185 of file climate_traits.h.
|
inline |
Definition at line 204 of file climate_traits.h.
|
inline |
Definition at line 181 of file climate_traits.h.
|
inline |
Definition at line 190 of file climate_traits.h.
|
inline |
Definition at line 196 of file climate_traits.h.
|
inline |
Definition at line 128 of file climate_traits.h.
|
inline |
Definition at line 133 of file climate_traits.h.
|
inline |
Definition at line 166 of file climate_traits.h.
|
inline |
Definition at line 170 of file climate_traits.h.
|
inline |
Definition at line 91 of file climate_traits.h.
|
inline |
Definition at line 86 of file climate_traits.h.
|
inline |
Definition at line 139 of file climate_traits.h.
|
inline |
Definition at line 176 of file climate_traits.h.
|
protected |
Definition at line 287 of file climate_traits.h.
|
protected |
Definition at line 288 of file climate_traits.h.
|
protected |
Definition at line 265 of file climate_traits.h.
|
protected |
Custom mode storage - pointers to vectors owned by the Climate base class.
ClimateTraits does not own this data; Climate stores the vectors and get_traits() wires these pointers automatically.
Definition at line 283 of file climate_traits.h.
|
protected |
Definition at line 284 of file climate_traits.h.
|
protected |
Definition at line 274 of file climate_traits.h.
|
protected |
Definition at line 273 of file climate_traits.h.
|
protected |
Definition at line 276 of file climate_traits.h.
|
protected |
Definition at line 275 of file climate_traits.h.
|
protected |
Definition at line 269 of file climate_traits.h.
|
protected |
Definition at line 271 of file climate_traits.h.
|
protected |
Definition at line 267 of file climate_traits.h.
|
protected |
Definition at line 270 of file climate_traits.h.
|
protected |
Definition at line 266 of file climate_traits.h.
|
protected |
Definition at line 268 of file climate_traits.h.