ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
esphome::api::TemplatableKeyValuePair< Ts > Class Template Reference

#include <homeassistant_service.h>

Public Member Functions

 TemplatableKeyValuePair ()=default
 
template<typename T >
 TemplatableKeyValuePair (const char *key, T value)
 

Data Fields

const char * key {nullptr}
 
TemplatableStringValue< Ts... > value
 

Detailed Description

template<typename... Ts>
class esphome::api::TemplatableKeyValuePair< Ts >

Definition at line 49 of file homeassistant_service.h.

Constructor & Destructor Documentation

◆ TemplatableKeyValuePair() [1/2]

template<typename... Ts>
esphome::api::TemplatableKeyValuePair< Ts >::TemplatableKeyValuePair ( )
default

◆ TemplatableKeyValuePair() [2/2]

template<typename... Ts>
template<typename T >
esphome::api::TemplatableKeyValuePair< Ts >::TemplatableKeyValuePair ( const char * key,
T value )
inline

Definition at line 57 of file homeassistant_service.h.

Field Documentation

◆ key

template<typename... Ts>
const char* esphome::api::TemplatableKeyValuePair< Ts >::key {nullptr}

Definition at line 59 of file homeassistant_service.h.

◆ value

template<typename... Ts>
TemplatableStringValue<Ts...> esphome::api::TemplatableKeyValuePair< Ts >::value

Definition at line 60 of file homeassistant_service.h.


The documentation for this class was generated from the following file: