ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
climate_traits.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::climate::ClimateTraits
 

Namespaces

namespace  esphome
 
namespace  esphome::climate
 

Typedefs

using esphome::climate::ClimateModeMask = FiniteSetMask<ClimateMode, DefaultBitPolicy<ClimateMode, CLIMATE_MODE_AUTO + 1>>
 
using esphome::climate::ClimateFanModeMask = FiniteSetMask<ClimateFanMode, DefaultBitPolicy<ClimateFanMode, CLIMATE_FAN_QUIET + 1>>
 
using esphome::climate::ClimateSwingModeMask
 
using esphome::climate::ClimatePresetMask = FiniteSetMask<ClimatePreset, DefaultBitPolicy<ClimatePreset, CLIMATE_PRESET_ACTIVITY + 1>>
 
using esphome::climate::ClimateCustomModes = ConstVector<const char *, true>
 Custom fan modes and custom presets: a flash table from codegen, or an owned copy set at runtime.
 

Functions

template<typename List >
bool esphome::climate::vector_contains (const List &vec, const char *value, size_t len)
 
template<typename List >
bool esphome::climate::vector_contains (const List &vec, const char *value)
 
template<typename List >
const char * esphome::climate::vector_find (const List &vec, const char *value, size_t len)