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::SensorState Struct Reference

A sensor's reported value. More...

#include <sensor.hpp>

Public Attributes

std::uint32_t key = 0
 
float state = 0.0F
 
bool missing_state = false
 True when the sensor currently has no valid value.
 

Detailed Description

A sensor's reported value.

Member Data Documentation

◆ key

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

◆ missing_state

bool esphome::api::SensorState::missing_state = false

True when the sensor currently has no valid value.

◆ state

float esphome::api::SensorState::state = 0.0F

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