LVGL Binary Sensor¶
The lvgl
binary sensor platform creates a binary sensor from an LVGL widget
and requires LVGL to be configured.
Supported widget is button. A single binary sensor supports only a single widget; in other words, it’s not possible to have multiple widgets associated with a single ESPHome binary sensor component.
Configuration variables:¶
widget (Required): The ID of a supported widget configured in LVGL, which will reflect the state of the binary sensor.
All other variables from Binary Sensor.
Example:
binary_sensor:
- platform: lvgl
widget: btn_id
name: LVGL push button