mirror of
https://github.com/esphome/esphome.git
synced 2025-07-29 06:36:45 +00:00
[lvgl]: fix missing await keyword in meter tick_style width processing (#9538)
This commit is contained in:
parent
5707389faa
commit
cd987feb5b
@ -264,7 +264,7 @@ class MeterType(WidgetType):
|
|||||||
color_start,
|
color_start,
|
||||||
color_end,
|
color_end,
|
||||||
v[CONF_LOCAL],
|
v[CONF_LOCAL],
|
||||||
size.process(v[CONF_WIDTH]),
|
await size.process(v[CONF_WIDTH]),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
if t == CONF_IMAGE:
|
if t == CONF_IMAGE:
|
||||||
|
@ -928,6 +928,12 @@ lvgl:
|
|||||||
angle_range: 360
|
angle_range: 360
|
||||||
rotation: !lambda return 2700;
|
rotation: !lambda return 2700;
|
||||||
indicators:
|
indicators:
|
||||||
|
- tick_style:
|
||||||
|
start_value: 0
|
||||||
|
end_value: 60
|
||||||
|
color_start: 0x0000bd
|
||||||
|
color_end: 0xbd0000
|
||||||
|
width: !lambda return 1;
|
||||||
- line:
|
- line:
|
||||||
opa: 50%
|
opa: 50%
|
||||||
id: minute_hand
|
id: minute_hand
|
||||||
|
Loading…
x
Reference in New Issue
Block a user