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

Typed Cover 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 dependency graph for cover.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::CoverInfo
 Static description of a cover entity. More...
 
struct  esphome::api::CoverState
 A cover's reported state. More...
 
struct  esphome::api::CoverCommand
 A command targeting a cover entity. More...
 

Namespaces

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

Functions

CoverInfo esphome::api::parse_cover_info (const proto::ListEntitiesCoverResponse &msg)
 
CoverState esphome::api::parse_cover_state (const proto::CoverStateResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const CoverCommand &cmd)
 

Detailed Description

Typed Cover entity (info + state + command).