mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[fan] Add basic fan compile tests (#11484)
This commit is contained in:
		
							
								
								
									
										11
									
								
								tests/components/fan/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								tests/components/fan/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | fan: | ||||||
|  |   - platform: template | ||||||
|  |     id: test_fan | ||||||
|  |     name: "Test Fan" | ||||||
|  |     preset_modes: | ||||||
|  |       - Eco | ||||||
|  |       - Sleep | ||||||
|  |       - Turbo | ||||||
|  |     has_oscillating: true | ||||||
|  |     has_direction: true | ||||||
|  |     speed_count: 3 | ||||||
							
								
								
									
										1
									
								
								tests/components/fan/test.esp8266-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/fan/test.esp8266-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | <<: !include common.yaml | ||||||
		Reference in New Issue
	
	Block a user