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

A timer event surfaced by the device (api: VoiceAssistantTimerEventResponse). More...

#include <voice_assistant.hpp>

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

Public Attributes

VoiceAssistantTimerEvent event_type = VoiceAssistantTimerEvent::Started
 
std::string timer_id
 
std::string name
 
std::uint32_t total_seconds = 0
 
std::uint32_t seconds_left = 0
 
bool is_active = false
 

Detailed Description

A timer event surfaced by the device (api: VoiceAssistantTimerEventResponse).

Member Data Documentation

◆ event_type

VoiceAssistantTimerEvent esphome::api::VoiceTimerEvent::event_type = VoiceAssistantTimerEvent::Started

◆ is_active

bool esphome::api::VoiceTimerEvent::is_active = false

◆ name

std::string esphome::api::VoiceTimerEvent::name

◆ seconds_left

std::uint32_t esphome::api::VoiceTimerEvent::seconds_left = 0

◆ timer_id

std::string esphome::api::VoiceTimerEvent::timer_id

◆ total_seconds

std::uint32_t esphome::api::VoiceTimerEvent::total_seconds = 0

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