mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 21:32:21 +01:00
[lvgl] Roller and Dropdown enhancements; (#7608)
This commit is contained in:
@@ -216,7 +216,7 @@ def automation_schema(typ: LvType):
|
||||
events = df.LV_EVENT_TRIGGERS + (CONF_ON_VALUE,)
|
||||
else:
|
||||
events = df.LV_EVENT_TRIGGERS
|
||||
args = [typ.get_arg_type()] if isinstance(typ, LvType) else []
|
||||
args = typ.get_arg_type() if isinstance(typ, LvType) else []
|
||||
args.append(lv_event_t_ptr)
|
||||
return {
|
||||
cv.Optional(event): validate_automation(
|
||||
|
Reference in New Issue
Block a user