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

Static description of a fan entity. More...

#include <fan.hpp>

Inheritance diagram for esphome::api::FanInfo:
Inheritance graph
[legend]
Collaboration diagram for esphome::api::FanInfo:
Collaboration graph
[legend]

Public Attributes

bool supports_oscillation = false
 
bool supports_speed = false
 
bool supports_direction = false
 
std::int32_t supported_speed_count = 0
 
std::vector< std::string > supported_preset_modes
 
- Public Attributes inherited from esphome::api::EntityInfo
std::uint32_t key = 0
 Stable per-entity identifier used to correlate state and command messages.
 
std::string object_id
 
std::string name
 
std::string icon
 
bool disabled_by_default = false
 
EntityCategory entity_category = EntityCategory::None
 
std::uint32_t device_id = 0
 Sub-device id (0 = the root device) when the device exposes sub-devices.
 

Detailed Description

Static description of a fan entity.

Member Data Documentation

◆ supported_preset_modes

std::vector<std::string> esphome::api::FanInfo::supported_preset_modes

◆ supported_speed_count

std::int32_t esphome::api::FanInfo::supported_speed_count = 0

◆ supports_direction

bool esphome::api::FanInfo::supports_direction = false

◆ supports_oscillation

bool esphome::api::FanInfo::supports_oscillation = false

◆ supports_speed

bool esphome::api::FanInfo::supports_speed = false

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