|
ESPHome 2025.12.0-dev
|
#include <homeassistant_service.h>
Public Member Functions | |
| TemplatableStringValue () | |
| template<typename F , enable_if_t<!is_invocable< F, X... >::value, int > = 0> | |
| TemplatableStringValue (F value) | |
| template<typename F , enable_if_t< is_invocable< F, X... >::value, int > = 0> | |
| TemplatableStringValue (F f) | |
Public Member Functions inherited from esphome::TemplatableValue< std::string, X... > | |
| TemplatableValue () | |
| TemplatableValue (F value) | |
| TemplatableValue (F f) | |
| TemplatableValue (F f) | |
| TemplatableValue (const TemplatableValue &other) | |
| TemplatableValue (TemplatableValue &&other) noexcept | |
| TemplatableValue & | operator= (const TemplatableValue &other) |
| TemplatableValue & | operator= (TemplatableValue &&other) noexcept |
| ~TemplatableValue () | |
| bool | has_value () |
| std::string | value (X... x) |
| optional< std::string > | optional_value (X... x) |
| std::string | value_or (X... x, std::string default_value) |
Additional Inherited Members | ||
Data Fields inherited from esphome::TemplatableValue< std::string, X... > | ||
| std::string | value_ | |
| std::function< std::string(X...)> * | f_ | |
| std::string(* | stateless_f_ )(X...) | |
Protected Types inherited from esphome::TemplatableValue< std::string, X... > | ||
| enum | ||
Protected Attributes inherited from esphome::TemplatableValue< std::string, X... > | ||
| enum esphome::TemplatableValue:: { ... } | type_ | |
| union { | ||
| T value_ | ||
| std::function< T(X...)> * f_ | ||
| T(* stateless_f_ )(X...) | ||
| }; | ||
Definition at line 18 of file homeassistant_service.h.
|
inline |
Definition at line 32 of file homeassistant_service.h.
|
inline |
Definition at line 35 of file homeassistant_service.h.
|
inline |
Definition at line 38 of file homeassistant_service.h.