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

A fan's reported state. More...

#include <fan.hpp>

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

Public Attributes

std::uint32_t key = 0
 
bool state = false
 
bool oscillating = false
 
FanDirection direction = FanDirection::Forward
 
std::int32_t speed_level = 0
 
std::string preset_mode
 

Detailed Description

A fan's reported state.

Member Data Documentation

◆ direction

FanDirection esphome::api::FanState::direction = FanDirection::Forward

◆ key

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

◆ oscillating

bool esphome::api::FanState::oscillating = false

◆ preset_mode

std::string esphome::api::FanState::preset_mode

◆ speed_level

std::int32_t esphome::api::FanState::speed_level = 0

◆ state

bool esphome::api::FanState::state = false

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