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

Typed Sensor entity (info + state). More...

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

Go to the source code of this file.

Classes

struct  esphome::api::SensorInfo
 Static description of a sensor entity. More...
 
struct  esphome::api::SensorState
 A sensor's reported value. More...
 

Namespaces

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

Functions

SensorInfo esphome::api::parse_sensor_info (const proto::ListEntitiesSensorResponse &msg)
 
SensorState esphome::api::parse_sensor_state (const proto::SensorStateResponse &msg)
 

Detailed Description

Typed Sensor entity (info + state).