mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Packages feature (#1052)
* Started to work on packages feature * Added some more validation to packages config * Fixed some linter warnings * Updated tests * Reordered consts to avoid linter error * Reordered consts to avoid linter error * Refactored test yaml files to integrate into existing test pipeline Co-authored-by: Dmitry Berezovsky <dmitry.berezovsky@logicify.com>
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							582ac4ac81
						
					
				
				
					commit
					e6f42fa6f0
				
			
							
								
								
									
										2
									
								
								tests/test_packages/test_packages_package1.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tests/test_packages/test_packages_package1.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| sensor: | ||||
|   - <<: !include ./test_uptime_sensor.yaml | ||||
							
								
								
									
										4
									
								
								tests/test_packages/test_packages_package_wifi.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								tests/test_packages/test_packages_package_wifi.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| wifi: | ||||
|   networks: | ||||
|   - ssid: 'WiFiFromPackage' | ||||
|     password: 'password1' | ||||
							
								
								
									
										5
									
								
								tests/test_packages/test_uptime_sensor.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								tests/test_packages/test_uptime_sensor.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| # Uptime sensor. | ||||
| platform: uptime | ||||
| id: ${devicename}_uptime_pcg | ||||
| name: Uptime From Package | ||||
| update_interval: 5min | ||||
		Reference in New Issue
	
	Block a user