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

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesBinarySensorResponse:
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 device_class {}
 
bool is_status_binary_sensor {false}
 
bool disabled_by_default {false}
 
std::string icon {}
 
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 303 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 660 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 634 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 616 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 682 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 670 of file api_pb2.cpp.

Field Documentation

◆ device_class

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

Definition at line 309 of file api_pb2.h.

◆ disabled_by_default

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

Definition at line 311 of file api_pb2.h.

◆ entity_category

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

Definition at line 313 of file api_pb2.h.

◆ icon

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

Definition at line 312 of file api_pb2.h.

◆ is_status_binary_sensor

bool esphome::api::ListEntitiesBinarySensorResponse::is_status_binary_sensor {false}

Definition at line 310 of file api_pb2.h.

◆ key

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

Definition at line 306 of file api_pb2.h.

◆ name

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

Definition at line 307 of file api_pb2.h.

◆ object_id

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

Definition at line 305 of file api_pb2.h.

◆ unique_id

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

Definition at line 308 of file api_pb2.h.


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