ESPHome  2024.3.1
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ListEntitiesLightResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesLightResponse:
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::vector< enums::ColorModesupported_color_modes {}
 
bool legacy_supports_brightness {false}
 
bool legacy_supports_rgb {false}
 
bool legacy_supports_white_value {false}
 
bool legacy_supports_color_temperature {false}
 
float min_mireds {0.0f}
 
float max_mireds {0.0f}
 
std::vector< std::string > effects {}
 
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 530 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1766 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1740 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1706 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1806 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 1784 of file api_pb2.cpp.

Field Documentation

◆ disabled_by_default

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

Definition at line 544 of file api_pb2.h.

◆ effects

std::vector<std::string> esphome::api::ListEntitiesLightResponse::effects {}

Definition at line 543 of file api_pb2.h.

◆ entity_category

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

Definition at line 546 of file api_pb2.h.

◆ icon

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

Definition at line 545 of file api_pb2.h.

◆ key

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

Definition at line 533 of file api_pb2.h.

◆ legacy_supports_brightness

bool esphome::api::ListEntitiesLightResponse::legacy_supports_brightness {false}

Definition at line 537 of file api_pb2.h.

◆ legacy_supports_color_temperature

bool esphome::api::ListEntitiesLightResponse::legacy_supports_color_temperature {false}

Definition at line 540 of file api_pb2.h.

◆ legacy_supports_rgb

bool esphome::api::ListEntitiesLightResponse::legacy_supports_rgb {false}

Definition at line 538 of file api_pb2.h.

◆ legacy_supports_white_value

bool esphome::api::ListEntitiesLightResponse::legacy_supports_white_value {false}

Definition at line 539 of file api_pb2.h.

◆ max_mireds

float esphome::api::ListEntitiesLightResponse::max_mireds {0.0f}

Definition at line 542 of file api_pb2.h.

◆ min_mireds

float esphome::api::ListEntitiesLightResponse::min_mireds {0.0f}

Definition at line 541 of file api_pb2.h.

◆ name

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

Definition at line 534 of file api_pb2.h.

◆ object_id

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

Definition at line 532 of file api_pb2.h.

◆ supported_color_modes

std::vector<enums::ColorMode> esphome::api::ListEntitiesLightResponse::supported_color_modes {}

Definition at line 536 of file api_pb2.h.

◆ unique_id

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

Definition at line 535 of file api_pb2.h.


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