ESPHome 2026.1.2
Loading...
Searching...
No Matches
esphome::api::ListEntitiesSensorResponse Class Referencefinal

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesSensorResponse:
esphome::api::InfoResponseProtoMessage 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::InfoResponseProtoMessage
 ~InfoResponseProtoMessage () override=default
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 

Data Fields

StringRef unit_of_measurement {}
 
int32_t accuracy_decimals {0}
 
bool force_update {false}
 
StringRef device_class {}
 
enums::SensorStateClass state_class {}
 
- Data Fields inherited from esphome::api::InfoResponseProtoMessage
StringRef object_id {}
 
uint32_t key {0}
 
StringRef name {}
 
bool disabled_by_default {false}
 
StringRef icon {}
 
enums::EntityCategory entity_category {}
 
uint32_t device_id {0}
 

Static Public Attributes

static constexpr uint8_t MESSAGE_TYPE = 16
 
static constexpr uint8_t ESTIMATED_SIZE = 66
 

Detailed Description

Definition at line 843 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 656 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1088 of file api_pb2_dump.cpp.

◆ encode()

void esphome::api::ListEntitiesSensorResponse::encode ( ProtoWriteBuffer buffer) const
overridevirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 638 of file api_pb2.cpp.

◆ message_name()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 848 of file api_pb2.h.

Field Documentation

◆ accuracy_decimals

int32_t esphome::api::ListEntitiesSensorResponse::accuracy_decimals {0}

Definition at line 851 of file api_pb2.h.

◆ device_class

StringRef esphome::api::ListEntitiesSensorResponse::device_class {}

Definition at line 853 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint8_t esphome::api::ListEntitiesSensorResponse::ESTIMATED_SIZE = 66
staticconstexpr

Definition at line 846 of file api_pb2.h.

◆ force_update

bool esphome::api::ListEntitiesSensorResponse::force_update {false}

Definition at line 852 of file api_pb2.h.

◆ MESSAGE_TYPE

uint8_t esphome::api::ListEntitiesSensorResponse::MESSAGE_TYPE = 16
staticconstexpr

Definition at line 845 of file api_pb2.h.

◆ state_class

enums::SensorStateClass esphome::api::ListEntitiesSensorResponse::state_class {}

Definition at line 854 of file api_pb2.h.

◆ unit_of_measurement

StringRef esphome::api::ListEntitiesSensorResponse::unit_of_measurement {}

Definition at line 850 of file api_pb2.h.


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