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

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

Go to the source code of this file.

Classes

struct  esphome::api::UpdateInfo
 Static description of an update entity. More...
 
struct  esphome::api::UpdateState
 An update's reported value. More...
 
struct  esphome::api::UpdateControl
 A command to control an update entity. More...
 

Namespaces

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

Functions

UpdateInfo esphome::api::parse_update_info (const proto::ListEntitiesUpdateResponse &msg)
 
UpdateState esphome::api::parse_update_state (const proto::UpdateStateResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const UpdateControl &cmd)
 

Detailed Description

Typed Update entity (info + state + command).