ESPHome 2025.12.0-dev
Loading...
Searching...
No Matches
climate.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::climate
 

Functions

template<typename T >
bool esphome::climate::set_primary_mode (optional< T > &primary, const char *&custom_ptr, T value)
 Template helper for setting primary modes (fan_mode, preset) with mutual exclusion.
 
template<typename T >
bool esphome::climate::set_custom_mode (const char *&custom_ptr, optional< T > &primary, const char *found_ptr, bool has_custom)
 Template helper for setting custom modes (custom_fan_mode_, custom_preset_) with mutual exclusion.
 

Variables

constexpr StringToUint8 esphome::climate::CLIMATE_MODES_BY_STR []
 
constexpr StringToUint8 esphome::climate::CLIMATE_FAN_MODES_BY_STR []
 
constexpr StringToUint8 esphome::climate::CLIMATE_PRESETS_BY_STR []
 
constexpr StringToUint8 esphome::climate::CLIMATE_SWING_MODES_BY_STR []