ESPHome  2024.9.2
Public Member Functions | Data Fields | Protected Member Functions
esphome::api::ClimateStateResponse Class Reference

#include <api_pb2.h>

Inheritance diagram for esphome::api::ClimateStateResponse:
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}
 
enums::ClimateMode mode {}
 
float current_temperature {0.0f}
 
float target_temperature {0.0f}
 
float target_temperature_low {0.0f}
 
float target_temperature_high {0.0f}
 
bool unused_legacy_away {false}
 
enums::ClimateAction action {}
 
enums::ClimateFanMode fan_mode {}
 
enums::ClimateSwingMode swing_mode {}
 
std::string custom_fan_mode {}
 
enums::ClimatePreset preset {}
 
std::string custom_preset {}
 
float current_humidity {0.0f}
 
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 1030 of file api_pb2.h.

Member Function Documentation

◆ decode_32bit()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 4001 of file api_pb2.cpp.

◆ decode_length()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3987 of file api_pb2.cpp.

◆ decode_varint()

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

Reimplemented from esphome::api::ProtoMessage.

Definition at line 3957 of file api_pb2.cpp.

◆ dump_to()

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

Implements esphome::api::ProtoMessage.

Definition at line 4053 of file api_pb2.cpp.

◆ encode()

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

Implements esphome::api::ProtoMessage.

Definition at line 4035 of file api_pb2.cpp.

Field Documentation

◆ action

enums::ClimateAction esphome::api::ClimateStateResponse::action {}

Definition at line 1039 of file api_pb2.h.

◆ current_humidity

float esphome::api::ClimateStateResponse::current_humidity {0.0f}

Definition at line 1045 of file api_pb2.h.

◆ current_temperature

float esphome::api::ClimateStateResponse::current_temperature {0.0f}

Definition at line 1034 of file api_pb2.h.

◆ custom_fan_mode

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

Definition at line 1042 of file api_pb2.h.

◆ custom_preset

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

Definition at line 1044 of file api_pb2.h.

◆ fan_mode

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

Definition at line 1040 of file api_pb2.h.

◆ key

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

Definition at line 1032 of file api_pb2.h.

◆ mode

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

Definition at line 1033 of file api_pb2.h.

◆ preset

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

Definition at line 1043 of file api_pb2.h.

◆ swing_mode

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

Definition at line 1041 of file api_pb2.h.

◆ target_humidity

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

Definition at line 1046 of file api_pb2.h.

◆ target_temperature

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

Definition at line 1035 of file api_pb2.h.

◆ target_temperature_high

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

Definition at line 1037 of file api_pb2.h.

◆ target_temperature_low

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

Definition at line 1036 of file api_pb2.h.

◆ unused_legacy_away

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

Definition at line 1038 of file api_pb2.h.


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