mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Provide the lights current color to the addressable_lambda_effect. (#646)
* Provide the lights current color to the addressable_lambda_effect. * Fix formatting * More formatting * Change the call signature of the lambda * lint Co-authored-by: olg <x>
This commit is contained in:
		| @@ -893,6 +893,11 @@ light: | ||||
|         name: Flicker Effect With Custom Values | ||||
|         update_interval: 16ms | ||||
|         intensity: 5% | ||||
|     - addressable_lambda: | ||||
|           name: "Test For Custom Lambda Effect" | ||||
|           lambda: |- | ||||
|             it[0] = current_color; | ||||
|                  | ||||
|     - automation: | ||||
|         name: Custom Effect | ||||
|         sequence: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user