mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[light] add missing header (#10590)
This commit is contained in:
		
				
					committed by
					
						 Jesse Hills
						Jesse Hills
					
				
			
			
				
	
			
			
			
						parent
						
							82d2e367d4
						
					
				
				
					commit
					7969627d3e
				
			| @@ -12,6 +12,7 @@ | |||||||
| #include "light_transformer.h" | #include "light_transformer.h" | ||||||
|  |  | ||||||
| #include <vector> | #include <vector> | ||||||
|  | #include <strings.h> | ||||||
|  |  | ||||||
| namespace esphome { | namespace esphome { | ||||||
| namespace light { | namespace light { | ||||||
|   | |||||||
							
								
								
									
										19
									
								
								tests/components/light/test.nrf52-adafruit.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								tests/components/light/test.nrf52-adafruit.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | esphome: | ||||||
|  |   on_boot: | ||||||
|  |     then: | ||||||
|  |       - light.toggle: test_binary_light | ||||||
|  |  | ||||||
|  | output: | ||||||
|  |   - platform: gpio | ||||||
|  |     id: test_binary | ||||||
|  |     pin: 0 | ||||||
|  |  | ||||||
|  | light: | ||||||
|  |   - platform: binary | ||||||
|  |     id: test_binary_light | ||||||
|  |     name: Binary Light | ||||||
|  |     output: test_binary | ||||||
|  |     effects: | ||||||
|  |       - strobe: | ||||||
|  |     on_state: | ||||||
|  |       - logger.log: Binary light state changed | ||||||
							
								
								
									
										19
									
								
								tests/components/light/test.nrf52-mcumgr.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								tests/components/light/test.nrf52-mcumgr.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | esphome: | ||||||
|  |   on_boot: | ||||||
|  |     then: | ||||||
|  |       - light.toggle: test_binary_light | ||||||
|  |  | ||||||
|  | output: | ||||||
|  |   - platform: gpio | ||||||
|  |     id: test_binary | ||||||
|  |     pin: 0 | ||||||
|  |  | ||||||
|  | light: | ||||||
|  |   - platform: binary | ||||||
|  |     id: test_binary_light | ||||||
|  |     name: Binary Light | ||||||
|  |     output: test_binary | ||||||
|  |     effects: | ||||||
|  |       - strobe: | ||||||
|  |     on_state: | ||||||
|  |       - logger.log: Binary light state changed | ||||||
		Reference in New Issue
	
	Block a user