1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-05 19:33:47 +01:00

[lvgl] Add restore_value to select and number (#8494)

This commit is contained in:
Clyde Stubbs
2025-04-14 08:45:30 +10:00
committed by GitHub
parent df4642208e
commit fb5d697c22
7 changed files with 99 additions and 66 deletions

View File

@@ -173,7 +173,8 @@ class LambdaContext(CodeContext):
class LvContext(LambdaContext):
"""
Code generation into the LVGL initialisation code (called in `setup()`)
Code generation into the LVGL initialisation code, called before setup() and loop()
Basically just does cg.add, so now fairly redundant.
"""
added_lambda_count = 0