esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
climate.hpp File Reference

Typed Climate entity (info + state + command). More...

#include <esphome/api/model/entity.hpp>
#include <esphome/api/model/enums.hpp>
#include <esphome/api/proto/proto_message.hpp>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for climate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::ClimateInfo
 Static description of a climate entity. More...
 
struct  esphome::api::ClimateState
 A climate entity's reported state. More...
 
struct  esphome::api::ClimateCommand
 A command to mutate a climate entity. Each optional field is sent only when engaged. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::api
 
namespace  esphome::api::proto
 

Functions

ClimateInfo esphome::api::parse_climate_info (const proto::ListEntitiesClimateResponse &msg)
 
ClimateState esphome::api::parse_climate_state (const proto::ClimateStateResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const ClimateCommand &cmd)
 

Detailed Description

Typed Climate entity (info + state + command).