ESPHome  2024.11.0
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ListEntitiesFanResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ListEntitiesFanResponse:
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 {}
 
bool supports_oscillation {false}
 
bool supports_speed {false}
 
bool supports_direction {false}
 
int32_t supported_speed_count {0}
 
bool disabled_by_default {false}
 
std::string icon {}
 
enums::EntityCategory entity_category {}
 
std::vector< std::string > supported_preset_modes {}
 

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

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1465 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1439 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 1409 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 1492 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 1475 of file api_pb2.cpp.

Field Documentation

◆ disabled_by_default

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

Definition at line 497 of file api_pb2.h.

◆ entity_category

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

Definition at line 499 of file api_pb2.h.

◆ icon

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

Definition at line 498 of file api_pb2.h.

◆ key

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

Definition at line 490 of file api_pb2.h.

◆ name

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

Definition at line 491 of file api_pb2.h.

◆ object_id

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

Definition at line 489 of file api_pb2.h.

◆ supported_preset_modes

std::vector<std::string> esphome::api::ListEntitiesFanResponse::supported_preset_modes {}

Definition at line 500 of file api_pb2.h.

◆ supported_speed_count

int32_t esphome::api::ListEntitiesFanResponse::supported_speed_count {0}

Definition at line 496 of file api_pb2.h.

◆ supports_direction

bool esphome::api::ListEntitiesFanResponse::supports_direction {false}

Definition at line 495 of file api_pb2.h.

◆ supports_oscillation

bool esphome::api::ListEntitiesFanResponse::supports_oscillation {false}

Definition at line 493 of file api_pb2.h.

◆ supports_speed

bool esphome::api::ListEntitiesFanResponse::supports_speed {false}

Definition at line 494 of file api_pb2.h.

◆ unique_id

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

Definition at line 492 of file api_pb2.h.


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