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

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

#include <binary_sensor.hpp>

Public Attributes

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

Detailed Description

A binary sensor's reported value.

Member Data Documentation

◆ key

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

◆ missing_state

bool esphome::api::BinarySensorState::missing_state = false

True when the binary sensor currently has no valid value.

◆ state

bool esphome::api::BinarySensorState::state = false

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