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

A command targeting a siren entity. More...

#include <siren.hpp>

Public Attributes

std::uint32_t key = 0
 
std::optional< bool > state
 
std::optional< std::string > tone
 
std::optional< std::uint32_t > duration
 
std::optional< float > volume
 

Detailed Description

A command targeting a siren entity.

Member Data Documentation

◆ duration

std::optional<std::uint32_t> esphome::api::SirenCommand::duration

◆ key

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

◆ state

std::optional<bool> esphome::api::SirenCommand::state

◆ tone

std::optional<std::string> esphome::api::SirenCommand::tone

◆ volume

std::optional<float> esphome::api::SirenCommand::volume

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