mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[packages] Allow list instead of dict for packages (#8688)
This commit is contained in:
		
							
								
								
									
										3
									
								
								tests/components/packages/package.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								tests/components/packages/package.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| sensor: | ||||
|   - platform: template | ||||
|     id: package_sensor | ||||
							
								
								
									
										11
									
								
								tests/components/packages/test.esp32-ard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								tests/components/packages/test.esp32-ard.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| packages: | ||||
|   - sensor: | ||||
|       - platform: template | ||||
|         id: inline_sensor | ||||
|   - !include package.yaml | ||||
|   - github://esphome/esphome/tests/components/template/common.yaml@dev | ||||
|   - url: https://github.com/esphome/esphome | ||||
|     file: tests/components/binary_sensor_map/common.yaml | ||||
|     ref: dev | ||||
|     refresh: 1d | ||||
|  | ||||
							
								
								
									
										13
									
								
								tests/components/packages/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tests/components/packages/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| packages: | ||||
|   sensor: | ||||
|     sensor: | ||||
|       - platform: template | ||||
|         id: inline_sensor | ||||
|   local: !include package.yaml | ||||
|   shorthand: github://esphome/esphome/tests/components/template/common.yaml@dev | ||||
|   github: | ||||
|     url: https://github.com/esphome/esphome | ||||
|     file: tests/components/binary_sensor_map/common.yaml | ||||
|     ref: dev | ||||
|     refresh: 1d | ||||
|  | ||||
		Reference in New Issue
	
	Block a user