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

A text sensor's reported value. More...

#include <text_sensor.hpp>

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

Public Attributes

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

Detailed Description

A text sensor's reported value.

Member Data Documentation

◆ key

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

◆ missing_state

bool esphome::api::TextSensorState::missing_state = false

True when the text sensor currently has no valid value.

◆ state

std::string esphome::api::TextSensorState::state

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