|
ESPHome 2026.11.0-dev
|
What Home Assistant reported last, in its own units. More...
#include <homeassistant_light.h>
Data Fields | |
| uint16_t | color_temp_kelvin {0} |
| uint8_t | brightness {0} |
| std::array< uint8_t, 3 > | rgb {} |
| light::ColorMode | color_mode {light::ColorMode::UNKNOWN} |
| bool | has_rgb {false} |
| optional< bool > | state |
What Home Assistant reported last, in its own units.
Each attribute arrives as its own message and stays until the next report of it, so an update may change any subset; zero, ColorMode::UNKNOWN and has_rgb say an attribute was never reported.
Definition at line 33 of file homeassistant_light.h.
| uint8_t esphome::homeassistant::HomeassistantLight::Attributes::brightness {0} |
Definition at line 35 of file homeassistant_light.h.
| light::ColorMode esphome::homeassistant::HomeassistantLight::Attributes::color_mode {light::ColorMode::UNKNOWN} |
Definition at line 37 of file homeassistant_light.h.
| uint16_t esphome::homeassistant::HomeassistantLight::Attributes::color_temp_kelvin {0} |
Definition at line 34 of file homeassistant_light.h.
| bool esphome::homeassistant::HomeassistantLight::Attributes::has_rgb {false} |
Definition at line 38 of file homeassistant_light.h.
| std::array<uint8_t, 3> esphome::homeassistant::HomeassistantLight::Attributes::rgb {} |
Definition at line 36 of file homeassistant_light.h.
| optional<bool> esphome::homeassistant::HomeassistantLight::Attributes::state |
Definition at line 39 of file homeassistant_light.h.