1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-12 08:12:22 +01:00

[lvgl] Fix: allow full range of styles on dropdown list. (#7552)

This commit is contained in:
Clyde Stubbs
2024-10-07 13:43:41 +11:00
committed by GitHub
parent 03a95ee05f
commit 6a2ed8241e
4 changed files with 58 additions and 2 deletions

View File

@@ -309,6 +309,6 @@ async def set_indicator_values(meter, indicator, config):
lv.meter_set_indicator_start_value(meter, indicator, start_value)
if end_value is not None:
lv.meter_set_indicator_end_value(meter, indicator, end_value)
if opa := config.get(CONF_OPA):
if (opa := config.get(CONF_OPA)) is not None:
lv_assign(indicator.opa, await opacity.process(opa))
lv_obj.invalidate(meter)