mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Merge remote-tracking branch 'upstream/dev' into integration
This commit is contained in:
		| @@ -146,8 +146,11 @@ def _substitute_item(substitutions, item, path, jinja, ignore_missing): | ||||
|             if sub is not None: | ||||
|                 item[k] = sub | ||||
|         for old, new in replace_keys: | ||||
|             item[new] = merge_config(item.get(old), item.get(new)) | ||||
|             del item[old] | ||||
|             if str(new) == str(old): | ||||
|                 item[new] = item[old] | ||||
|             else: | ||||
|                 item[new] = merge_config(item.get(old), item.get(new)) | ||||
|                 del item[old] | ||||
|     elif isinstance(item, str): | ||||
|         sub = _expand_substitutions(substitutions, item, path, jinja, ignore_missing) | ||||
|         if isinstance(sub, JinjaStr) or sub != item: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user