ESPHome
2024.10.2
|
#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) | |
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 | |
Protected Types inherited from esphome::TemplatableValue< std::string, X... > | |
enum | |
Protected Attributes inherited from esphome::TemplatableValue< std::string, X... > | |
enum esphome::TemplatableValue:: { ... } | type_ |
std::string | value_ |
std::function< std::string(X...)> | f_ |
Definition at line 13 of file homeassistant_service.h.
|
inline |
Definition at line 15 of file homeassistant_service.h.
|
inline |
Definition at line 18 of file homeassistant_service.h.
|
inline |
Definition at line 21 of file homeassistant_service.h.