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

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

Go to the source code of this file.

Classes

struct  esphome::api::DateTimeInfo
 Static description of a datetime entity. More...
 
struct  esphome::api::DateTimeState
 A datetime's reported value. More...
 
struct  esphome::api::DateTimeCommand
 A command to set a datetime's value. More...
 

Namespaces

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

Functions

DateTimeInfo esphome::api::parse_datetime_info (const proto::ListEntitiesDateTimeResponse &msg)
 
DateTimeState esphome::api::parse_datetime_state (const proto::DateTimeStateResponse &msg)
 
std::unique_ptr< ProtoMessageesphome::api::to_message (const DateTimeCommand &cmd)
 

Detailed Description

Typed DateTime entity (info + state + command).