|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
A light's reported state. More...
#include <light.hpp>

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 |
A light's reported state.
| float esphome::api::LightState::blue = 0.0F |
| float esphome::api::LightState::brightness = 0.0F |
| float esphome::api::LightState::cold_white = 0.0F |
| float esphome::api::LightState::color_brightness = 0.0F |
| ColorMode esphome::api::LightState::color_mode = ColorMode::Unknown |
| float esphome::api::LightState::color_temperature = 0.0F |
| std::string esphome::api::LightState::effect |
| float esphome::api::LightState::green = 0.0F |
| std::uint32_t esphome::api::LightState::key = 0 |
| float esphome::api::LightState::red = 0.0F |
| bool esphome::api::LightState::state = false |
| float esphome::api::LightState::warm_white = 0.0F |
| float esphome::api::LightState::white = 0.0F |