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

A switch's reported state. More...

#include <switch.hpp>

Public Attributes

std::uint32_t key = 0
 
bool state = false
 

Detailed Description

A switch's reported state.

Member Data Documentation

◆ key

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

◆ state

bool esphome::api::SwitchState::state = false

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