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

Go to the source code of this file.

Data Structures

struct  esphome::api::HomeAssistantField< Ts >
 A key and value from codegen; on ESP8266 the table and its strings are in flash. More...
 
class  esphome::api::ActionResponse
 
class  esphome::api::HomeAssistantServiceCallAction< Ts >
 
struct  esphome::api::HomeAssistantServiceCallAction< Ts >::Flags
 

Namespaces

namespace  esphome
 
namespace  esphome::api
 

Typedefs

template<typename... Ts>
using esphome::api::ActionResponseCallback = std::function<void(const ActionResponse &, Ts...)>
 

Functions

template<typename T >
requires (!std::is_pointer_v<std::remove_cvref_t<T>>)
std::string esphome::api::field_to_string (T &&val)
 
std::string esphome::api::field_to_string (const char *val)
 
std::string esphome::api::field_to_string (std::string val)
 
std::string esphome::api::field_to_string (StringRef val)