mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	add lights on off triggers (#1037)
* add lights on off triggers * add test
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							bab0ba9c0f
						
					
				
				
					commit
					31ae337931
				
			| @@ -1044,6 +1044,14 @@ light: | ||||
|               duration: 250ms | ||||
|             - state: False | ||||
|               duration: 250ms | ||||
|     on_turn_on: | ||||
|       - switch.template.publish: | ||||
|           id: livingroom_lights | ||||
|           state: yes | ||||
|     on_turn_off: | ||||
|       - switch.template.publish: | ||||
|           id: livingroom_lights | ||||
|           state: yes | ||||
|   - platform: monochromatic | ||||
|     name: "Kitchen Lights" | ||||
|     id: kitchen | ||||
|   | ||||
		Reference in New Issue
	
	Block a user