mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Make initial run variable available to addressable_lambda (#1035)
* Make initial run variable available to addressable_lambda * Fix linting * Remove if clause
This commit is contained in:
@@ -1155,7 +1155,9 @@ light:
|
||||
- addressable_lambda:
|
||||
name: "Test For Custom Lambda Effect"
|
||||
lambda: |-
|
||||
it[0] = current_color;
|
||||
if (initial_run) {
|
||||
it[0] = current_color;
|
||||
}
|
||||
|
||||
- automation:
|
||||
name: Custom Effect
|
||||
|
Reference in New Issue
Block a user