ESPHome  2024.4.0
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ListEntitiesSensorResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesSensorResponse:
esphome::api::ProtoMessage

Public Member Functions

void encode (ProtoWriteBuffer buffer) const override
 
void dump_to (std::string &out) const override
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
void decode (const uint8_t *buffer, size_t length)
 
std::string dump () const
 

Data Fields

std::string object_id {}
 
uint32_t key {0}
 
std::string name {}
 
std::string unique_id {}
 
std::string icon {}
 
std::string unit_of_measurement {}
 
int32_t accuracy_decimals {0}
 
bool force_update {false}
 
std::string device_class {}
 
enums::SensorStateClass state_class {}
 
enums::SensorLastResetType legacy_last_reset_type {}
 
bool disabled_by_default {false}
 
enums::EntityCategory entity_category {}
 

Protected Member Functions

bool decode_32bit (uint32_t field_id, Proto32Bit value) override
 
bool decode_length (uint32_t field_id, ProtoLengthDelimited value) override
 
bool decode_varint (uint32_t field_id, ProtoVarInt value) override
 
- Protected Member Functions inherited from esphome::api::ProtoMessage
virtual bool decode_64bit (uint32_t field_id, Proto64Bit value)
 

Detailed Description

Definition at line 626 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

bool esphome::api::ListEntitiesSensorResponse::decode_32bit ( uint32_t  field_id,
Proto32Bit  value 
)
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2395 of file api_pb2.cpp.

◆ decode_length()

bool esphome::api::ListEntitiesSensorResponse::decode_length ( uint32_t  field_id,
ProtoLengthDelimited  value 
)
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2365 of file api_pb2.cpp.

◆ decode_varint()

bool esphome::api::ListEntitiesSensorResponse::decode_varint ( uint32_t  field_id,
ProtoVarInt  value 
)
overrideprotectedvirtual

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2335 of file api_pb2.cpp.

◆ dump_to()

void esphome::api::ListEntitiesSensorResponse::dump_to ( std::string &  out) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 2421 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 2405 of file api_pb2.cpp.

Field Documentation

◆ accuracy_decimals

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

Definition at line 634 of file api_pb2.h.

◆ device_class

std::string esphome::api::ListEntitiesSensorResponse::device_class {}

Definition at line 636 of file api_pb2.h.

◆ disabled_by_default

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

Definition at line 639 of file api_pb2.h.

◆ entity_category

enums::EntityCategory esphome::api::ListEntitiesSensorResponse::entity_category {}

Definition at line 640 of file api_pb2.h.

◆ force_update

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

Definition at line 635 of file api_pb2.h.

◆ icon

std::string esphome::api::ListEntitiesSensorResponse::icon {}

Definition at line 632 of file api_pb2.h.

◆ key

uint32_t esphome::api::ListEntitiesSensorResponse::key {0}

Definition at line 629 of file api_pb2.h.

◆ legacy_last_reset_type

enums::SensorLastResetType esphome::api::ListEntitiesSensorResponse::legacy_last_reset_type {}

Definition at line 638 of file api_pb2.h.

◆ name

std::string esphome::api::ListEntitiesSensorResponse::name {}

Definition at line 630 of file api_pb2.h.

◆ object_id

std::string esphome::api::ListEntitiesSensorResponse::object_id {}

Definition at line 628 of file api_pb2.h.

◆ state_class

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

Definition at line 637 of file api_pb2.h.

◆ unique_id

std::string esphome::api::ListEntitiesSensorResponse::unique_id {}

Definition at line 631 of file api_pb2.h.

◆ unit_of_measurement

std::string esphome::api::ListEntitiesSensorResponse::unit_of_measurement {}

Definition at line 633 of file api_pb2.h.


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