ESPHome 2026.11.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 LogString * message_name () const override
 
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 
const char * dump_to (DumpBuffer &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
uint8_t * encode (ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
 
uint32_t calculate_size () const
 

Static Public Member Functions

static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 
- Static Public Member Functions inherited from esphome::api::ProtoMessage
static uint8_t * encode_msg (const void *self, uint8_t *pos PROTO_ENCODE_DEBUG_PARAM)
 
static uint32_t calc_size_msg (const void *self)
 

Data Fields

ProgmemStringRef service {}
 
FixedVector< HomeassistantServiceMap > data {}
 
FixedVector< HomeassistantServiceMap > data_template {}
 
FixedVector< HomeassistantServiceMap > variables {}
 
bool is_event {false}
 
uint32_t call_id {0}
 
bool wants_response {false}
 
StringRef response_template {nullptr, 0}
 

Static Public Attributes

static constexpr uint16_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 1415 of file api_pb2.h.

Member Function Documentation

◆ calc_size_msg()

uint32_t esphome::api::HomeassistantActionRequest::calc_size_msg ( const void * self)
static

Definition at line 1206 of file api_pb2.cpp.

◆ calculate_size()

uint32_t esphome::api::HomeassistantActionRequest::calculate_size ( ) const
inline

Definition at line 1441 of file api_pb2.h.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1542 of file api_pb2_dump.cpp.

◆ encode()

uint8_t * esphome::api::HomeassistantActionRequest::encode ( ProtoWriteBuffer &buffer PROTO_ENCODE_DEBUG_PARAM) const
inline

Definition at line 1437 of file api_pb2.h.

◆ encode_msg()

uint8_t * esphome::api::HomeassistantActionRequest::encode_msg ( const void * self,
uint8_t *pos PROTO_ENCODE_DEBUG_PARAM )
static

Definition at line 1182 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1420 of file api_pb2.h.

Field Documentation

◆ call_id

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

Definition at line 1428 of file api_pb2.h.

◆ data

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

Definition at line 1423 of file api_pb2.h.

◆ data_template

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

Definition at line 1424 of file api_pb2.h.

◆ ESTIMATED_SIZE

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

Definition at line 1418 of file api_pb2.h.

◆ is_event

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

Definition at line 1426 of file api_pb2.h.

◆ MESSAGE_TYPE

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

Definition at line 1417 of file api_pb2.h.

◆ response_template

StringRef esphome::api::HomeassistantActionRequest::response_template {nullptr, 0}

Definition at line 1434 of file api_pb2.h.

◆ service

ProgmemStringRef esphome::api::HomeassistantActionRequest::service {}

Definition at line 1422 of file api_pb2.h.

◆ variables

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

Definition at line 1425 of file api_pb2.h.

◆ wants_response

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

Definition at line 1431 of file api_pb2.h.


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