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

Static description of a light entity. More...

#include <light.hpp>

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

Public Attributes

std::vector< ColorModesupported_color_modes
 
float min_mireds = 0.0F
 
float max_mireds = 0.0F
 
std::vector< std::string > effects
 
- 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 light entity.

Member Data Documentation

◆ effects

std::vector<std::string> esphome::api::LightInfo::effects

◆ max_mireds

float esphome::api::LightInfo::max_mireds = 0.0F

◆ min_mireds

float esphome::api::LightInfo::min_mireds = 0.0F

◆ supported_color_modes

std::vector<ColorMode> esphome::api::LightInfo::supported_color_modes

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