esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Public Attributes | List of all members
esphome::api::StoredEntity Struct Reference

A single tracked entity: its domain, identity, and the latest raw info/ state protobuf messages (decoded on demand by the typed accessors). More...

#include <entity_store.hpp>

Collaboration diagram for esphome::api::StoredEntity:
Collaboration graph
[legend]

Public Attributes

EntityType type = EntityType::Unknown
 
std::uint32_t key = 0
 
std::string object_id
 
std::string name
 
std::shared_ptr< ProtoMessageinfo
 
std::shared_ptr< ProtoMessagestate
 

Detailed Description

A single tracked entity: its domain, identity, and the latest raw info/ state protobuf messages (decoded on demand by the typed accessors).

Member Data Documentation

◆ info

std::shared_ptr<ProtoMessage> esphome::api::StoredEntity::info

◆ key

std::uint32_t esphome::api::StoredEntity::key = 0

◆ name

std::string esphome::api::StoredEntity::name

◆ object_id

std::string esphome::api::StoredEntity::object_id

◆ state

std::shared_ptr<ProtoMessage> esphome::api::StoredEntity::state

◆ type

EntityType esphome::api::StoredEntity::type = EntityType::Unknown

The documentation for this struct was generated from the following file: