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

A command to change a switch's state. More...

#include <switch.hpp>

Public Attributes

std::uint32_t key = 0
 
bool state = false
 

Detailed Description

A command to change a switch's state.

Member Data Documentation

◆ key

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

◆ state

bool esphome::api::SwitchCommand::state = false

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