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

A light's reported state. More...

#include <light.hpp>

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

Public Attributes

std::uint32_t key = 0
 
bool state = false
 
float brightness = 0.0F
 
ColorMode color_mode = ColorMode::Unknown
 
float color_brightness = 0.0F
 
float red = 0.0F
 
float green = 0.0F
 
float blue = 0.0F
 
float white = 0.0F
 
float color_temperature = 0.0F
 
float cold_white = 0.0F
 
float warm_white = 0.0F
 
std::string effect
 

Detailed Description

A light's reported state.

Member Data Documentation

◆ blue

float esphome::api::LightState::blue = 0.0F

◆ brightness

float esphome::api::LightState::brightness = 0.0F

◆ cold_white

float esphome::api::LightState::cold_white = 0.0F

◆ color_brightness

float esphome::api::LightState::color_brightness = 0.0F

◆ color_mode

ColorMode esphome::api::LightState::color_mode = ColorMode::Unknown

◆ color_temperature

float esphome::api::LightState::color_temperature = 0.0F

◆ effect

std::string esphome::api::LightState::effect

◆ green

float esphome::api::LightState::green = 0.0F

◆ key

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

◆ red

float esphome::api::LightState::red = 0.0F

◆ state

bool esphome::api::LightState::state = false

◆ warm_white

float esphome::api::LightState::warm_white = 0.0F

◆ white

float esphome::api::LightState::white = 0.0F

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