mirror of
https://github.com/esphome/esphome.git
synced 2025-10-05 19:33:47 +01:00
[LVGL] Add color gradients (#7427)
This commit is contained in:
@@ -184,8 +184,9 @@ class LvContext(LambdaContext):
|
||||
self.lv_component = lv_component
|
||||
|
||||
async def add_init_lambda(self):
|
||||
cg.add(self.lv_component.add_init_lambda(await self.get_lambda()))
|
||||
LvContext.added_lambda_count += 1
|
||||
if self.code_list:
|
||||
cg.add(self.lv_component.add_init_lambda(await self.get_lambda()))
|
||||
LvContext.added_lambda_count += 1
|
||||
|
||||
async def __aexit__(self, exc_type, exc_val, exc_tb):
|
||||
await super().__aexit__(exc_type, exc_val, exc_tb)
|
||||
|
Reference in New Issue
Block a user