ESPHome  2024.11.3
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ClimateCommandRequest Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ClimateCommandRequest:
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

uint32_t key {0}
 
bool has_mode {false}
 
enums::ClimateMode mode {}
 
bool has_target_temperature {false}
 
float target_temperature {0.0f}
 
bool has_target_temperature_low {false}
 
float target_temperature_low {0.0f}
 
bool has_target_temperature_high {false}
 
float target_temperature_high {0.0f}
 
bool unused_has_legacy_away {false}
 
bool unused_legacy_away {false}
 
bool has_fan_mode {false}
 
enums::ClimateFanMode fan_mode {}
 
bool has_swing_mode {false}
 
enums::ClimateSwingMode swing_mode {}
 
bool has_custom_fan_mode {false}
 
std::string custom_fan_mode {}
 
bool has_preset {false}
 
enums::ClimatePreset preset {}
 
bool has_custom_preset {false}
 
std::string custom_preset {}
 
bool has_target_humidity {false}
 
float target_humidity {0.0f}
 

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

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 4209 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 4195 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 4125 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 4261 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 4235 of file api_pb2.cpp.

Field Documentation

◆ custom_fan_mode

std::string esphome::api::ClimateCommandRequest::custom_fan_mode {}

Definition at line 1075 of file api_pb2.h.

◆ custom_preset

std::string esphome::api::ClimateCommandRequest::custom_preset {}

Definition at line 1079 of file api_pb2.h.

◆ fan_mode

enums::ClimateFanMode esphome::api::ClimateCommandRequest::fan_mode {}

Definition at line 1071 of file api_pb2.h.

◆ has_custom_fan_mode

bool esphome::api::ClimateCommandRequest::has_custom_fan_mode {false}

Definition at line 1074 of file api_pb2.h.

◆ has_custom_preset

bool esphome::api::ClimateCommandRequest::has_custom_preset {false}

Definition at line 1078 of file api_pb2.h.

◆ has_fan_mode

bool esphome::api::ClimateCommandRequest::has_fan_mode {false}

Definition at line 1070 of file api_pb2.h.

◆ has_mode

bool esphome::api::ClimateCommandRequest::has_mode {false}

Definition at line 1060 of file api_pb2.h.

◆ has_preset

bool esphome::api::ClimateCommandRequest::has_preset {false}

Definition at line 1076 of file api_pb2.h.

◆ has_swing_mode

bool esphome::api::ClimateCommandRequest::has_swing_mode {false}

Definition at line 1072 of file api_pb2.h.

◆ has_target_humidity

bool esphome::api::ClimateCommandRequest::has_target_humidity {false}

Definition at line 1080 of file api_pb2.h.

◆ has_target_temperature

bool esphome::api::ClimateCommandRequest::has_target_temperature {false}

Definition at line 1062 of file api_pb2.h.

◆ has_target_temperature_high

bool esphome::api::ClimateCommandRequest::has_target_temperature_high {false}

Definition at line 1066 of file api_pb2.h.

◆ has_target_temperature_low

bool esphome::api::ClimateCommandRequest::has_target_temperature_low {false}

Definition at line 1064 of file api_pb2.h.

◆ key

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

Definition at line 1059 of file api_pb2.h.

◆ mode

enums::ClimateMode esphome::api::ClimateCommandRequest::mode {}

Definition at line 1061 of file api_pb2.h.

◆ preset

enums::ClimatePreset esphome::api::ClimateCommandRequest::preset {}

Definition at line 1077 of file api_pb2.h.

◆ swing_mode

enums::ClimateSwingMode esphome::api::ClimateCommandRequest::swing_mode {}

Definition at line 1073 of file api_pb2.h.

◆ target_humidity

float esphome::api::ClimateCommandRequest::target_humidity {0.0f}

Definition at line 1081 of file api_pb2.h.

◆ target_temperature

float esphome::api::ClimateCommandRequest::target_temperature {0.0f}

Definition at line 1063 of file api_pb2.h.

◆ target_temperature_high

float esphome::api::ClimateCommandRequest::target_temperature_high {0.0f}

Definition at line 1067 of file api_pb2.h.

◆ target_temperature_low

float esphome::api::ClimateCommandRequest::target_temperature_low {0.0f}

Definition at line 1065 of file api_pb2.h.

◆ unused_has_legacy_away

bool esphome::api::ClimateCommandRequest::unused_has_legacy_away {false}

Definition at line 1068 of file api_pb2.h.

◆ unused_legacy_away

bool esphome::api::ClimateCommandRequest::unused_legacy_away {false}

Definition at line 1069 of file api_pb2.h.


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