LVGL Light¶
The lvgl
light platform creates a light from an LVGL widget
and requires LVGL to be configured.
Supported widget is led. A single light supports only a single widget; in other words, it’s not possible to have multiple widgets associated with a single ESPHome light component.
Configuration variables:¶
widget (Required): The ID of a
led
widget configured in LVGL, which will reflect the state of the light.All other options from light.
Example:
light:
- platform: lvgl
widget: led_id
name: LVGL light
Note
To have linear brightness control, gamma_correct
of the light is set by default to 0
.