ESPHome  2022.9.1
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ListEntitiesNumberResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesNumberResponse:
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 {}
 
float min_value {0.0f}
 
float max_value {0.0f}
 
float step {0.0f}
 
bool disabled_by_default {false}
 
enums::EntityCategory entity_category {}
 
std::string unit_of_measurement {}
 
enums::NumberMode mode {}
 

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 983 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3896 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3870 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3852 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 3933 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 3918 of file api_pb2.cpp.

Field Documentation

◆ disabled_by_default

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

Definition at line 993 of file api_pb2.h.

◆ entity_category

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

Definition at line 994 of file api_pb2.h.

◆ icon

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

Definition at line 989 of file api_pb2.h.

◆ key

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

Definition at line 986 of file api_pb2.h.

◆ max_value

float esphome::api::ListEntitiesNumberResponse::max_value {0.0f}

Definition at line 991 of file api_pb2.h.

◆ min_value

float esphome::api::ListEntitiesNumberResponse::min_value {0.0f}

Definition at line 990 of file api_pb2.h.

◆ mode

enums::NumberMode esphome::api::ListEntitiesNumberResponse::mode {}

Definition at line 996 of file api_pb2.h.

◆ name

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

Definition at line 987 of file api_pb2.h.

◆ object_id

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

Definition at line 985 of file api_pb2.h.

◆ step

float esphome::api::ListEntitiesNumberResponse::step {0.0f}

Definition at line 992 of file api_pb2.h.

◆ unique_id

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

Definition at line 988 of file api_pb2.h.

◆ unit_of_measurement

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

Definition at line 995 of file api_pb2.h.


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