ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::api::HomeassistantActionRequest Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::HomeassistantActionRequest:
esphome::api::ProtoMessage

Public Member Functions

const char * message_name () const override
 
void encode (ProtoWriteBuffer &buffer) const override
 
void calculate_size (ProtoSize &size) const override
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint32_t calculated_size () const
 

Data Fields

StringRef service {}
 
FixedVector< HomeassistantServiceMapdata {}
 
FixedVector< HomeassistantServiceMapdata_template {}
 
FixedVector< HomeassistantServiceMapvariables {}
 
bool is_event {false}
 
uint32_t call_id {0}
 
bool wants_response {false}
 
StringRef response_template {}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 35
 
static constexpr uint8_t ESTIMATED_SIZE = 128
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::api::ProtoMessage
 ~ProtoMessage ()=default
 

Detailed Description

Definition at line 1021 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

void esphome::api::HomeassistantActionRequest::calculate_size ( ProtoSize & size) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 876 of file api_pb2.cpp.

◆ dump_to()

const char * esphome::api::HomeassistantActionRequest::dump_to ( DumpBuffer & out) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 1208 of file api_pb2_dump.cpp.

◆ encode()

void esphome::api::HomeassistantActionRequest::encode ( ProtoWriteBuffer & buffer) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 854 of file api_pb2.cpp.

◆ message_name()

const char * esphome::api::HomeassistantActionRequest::message_name ( ) const
inlineoverridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1026 of file api_pb2.h.

Field Documentation

◆ call_id

uint32_t esphome::api::HomeassistantActionRequest::call_id {0}

Definition at line 1034 of file api_pb2.h.

◆ data

FixedVector<HomeassistantServiceMap> esphome::api::HomeassistantActionRequest::data {}

Definition at line 1029 of file api_pb2.h.

◆ data_template

FixedVector<HomeassistantServiceMap> esphome::api::HomeassistantActionRequest::data_template {}

Definition at line 1030 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::HomeassistantActionRequest::ESTIMATED_SIZE = 128
staticconstexpr

Definition at line 1024 of file api_pb2.h.

◆ is_event

bool esphome::api::HomeassistantActionRequest::is_event {false}

Definition at line 1032 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::HomeassistantActionRequest::MESSAGE_TYPE = 35
staticconstexpr

Definition at line 1023 of file api_pb2.h.

◆ response_template

StringRef esphome::api::HomeassistantActionRequest::response_template {}

Definition at line 1040 of file api_pb2.h.

◆ service

StringRef esphome::api::HomeassistantActionRequest::service {}

Definition at line 1028 of file api_pb2.h.

◆ variables

FixedVector<HomeassistantServiceMap> esphome::api::HomeassistantActionRequest::variables {}

Definition at line 1031 of file api_pb2.h.

◆ wants_response

bool esphome::api::HomeassistantActionRequest::wants_response {false}

Definition at line 1037 of file api_pb2.h.


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