LVGL Sensor
The lvgl sensor platform creates a sensor component from an LVGL widget
and requires LVGL to be configured.
Supported widgets are arc, bar, slider and spinbox. A single sensor supports only a single widget; in other words, it’s not possible to have multiple widgets associated with a single ESPHome sensor.
Configuration variables:
- widget (Required): The ID of a supported widget configured in LVGL, which will reflect the state of the sensor.
- All other variables from Sensor.
Example:
sensor:
- platform: lvgl
widget: slider_id
name: LVGL SliderNote
Widget-specific actions (lvgl.arc.update, lvgl.bar.update, lvgl.slider.update, lvgl.spinbox.update, lvgl.spinbox.decrement, lvgl.spinbox.increment) will trigger corresponding component updates to be sent to Home Assistant.