ESPHome 2025.6.3
Loading...
Searching...
No Matches
esphome::api::ListEntitiesLightResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesLightResponse:
esphome::api::InfoResponseProtoMessage 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::InfoResponseProtoMessage
 ~InfoResponseProtoMessage () override=default
 
- Public Member Functions inherited from esphome::api::ProtoMessage
virtual ~ProtoMessage ()=default
 
void decode (const uint8_t *buffer, size_t length)
 
std::string dump () const
 

Static Public Member Functions

static constexpr const char * message_name ()
 

Data Fields

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 {}
 
- Data Fields inherited from esphome::api::InfoResponseProtoMessage
std::string object_id {}
 
uint32_t key {0}
 
std::string name {}
 
std::string unique_id {}
 
bool disabled_by_default {false}
 
std::string icon {}
 
enums::EntityCategory entity_category {}
 

Static Public Attributes

static constexpr uint16_t MESSAGE_TYPE = 15
 
static constexpr uint16_t ESTIMATED_SIZE = 85
 

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 695 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 2075 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 2036 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 2010 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 1976 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 2101 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 2054 of file api_pb2.cpp.

◆ message_name()

static constexpr const char * esphome::api::ListEntitiesLightResponse::message_name ( )
inlinestaticconstexpr

Definition at line 700 of file api_pb2.h.

Field Documentation

◆ effects

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

Definition at line 709 of file api_pb2.h.

◆ ESTIMATED_SIZE

uint16_t esphome::api::ListEntitiesLightResponse::ESTIMATED_SIZE = 85
staticconstexpr

Definition at line 698 of file api_pb2.h.

◆ legacy_supports_brightness

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

Definition at line 703 of file api_pb2.h.

◆ legacy_supports_color_temperature

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

Definition at line 706 of file api_pb2.h.

◆ legacy_supports_rgb

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

Definition at line 704 of file api_pb2.h.

◆ legacy_supports_white_value

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

Definition at line 705 of file api_pb2.h.

◆ max_mireds

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

Definition at line 708 of file api_pb2.h.

◆ MESSAGE_TYPE

uint16_t esphome::api::ListEntitiesLightResponse::MESSAGE_TYPE = 15
staticconstexpr

Definition at line 697 of file api_pb2.h.

◆ min_mireds

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

Definition at line 707 of file api_pb2.h.

◆ supported_color_modes

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

Definition at line 702 of file api_pb2.h.


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