ESPHome 2025.5.0
Loading...
Searching...
No Matches
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 calculate_size (uint32_t &total_size) 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 591 of file api_pb2.h.

Member Function Documentation

◆ calculate_size()

void esphome::api::ListEntitiesLightResponse::calculate_size ( uint32_t & total_size) const
overridevirtual

Implements esphome::api::ProtoMessage.

Definition at line 2070 of file api_pb2.cpp.

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 2031 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 2005 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 1971 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 2096 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 2049 of file api_pb2.cpp.

Field Documentation

◆ disabled_by_default

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

Definition at line 605 of file api_pb2.h.

◆ effects

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

Definition at line 604 of file api_pb2.h.

◆ entity_category

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

Definition at line 607 of file api_pb2.h.

◆ icon

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

Definition at line 606 of file api_pb2.h.

◆ key

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

Definition at line 594 of file api_pb2.h.

◆ legacy_supports_brightness

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

Definition at line 598 of file api_pb2.h.

◆ legacy_supports_color_temperature

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

Definition at line 601 of file api_pb2.h.

◆ legacy_supports_rgb

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

Definition at line 599 of file api_pb2.h.

◆ legacy_supports_white_value

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

Definition at line 600 of file api_pb2.h.

◆ max_mireds

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

Definition at line 603 of file api_pb2.h.

◆ min_mireds

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

Definition at line 602 of file api_pb2.h.

◆ name

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

Definition at line 595 of file api_pb2.h.

◆ object_id

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

Definition at line 593 of file api_pb2.h.

◆ supported_color_modes

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

Definition at line 597 of file api_pb2.h.

◆ unique_id

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

Definition at line 596 of file api_pb2.h.


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