mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	allow defaults with no include vars (#6613)
This commit is contained in:
		| @@ -321,7 +321,8 @@ class ESPHomeLoaderMixin: | |||||||
|             file, vars = node.value, None |             file, vars = node.value, None | ||||||
|  |  | ||||||
|         result = _load_yaml_internal(self._rel_path(file)) |         result = _load_yaml_internal(self._rel_path(file)) | ||||||
|         if vars: |         if not vars: | ||||||
|  |             vars = {} | ||||||
|         result = substitute_vars(result, vars) |         result = substitute_vars(result, vars) | ||||||
|         return result |         return result | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user