mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Rename ref in codegen
This commit is contained in:
		| @@ -112,8 +112,8 @@ async def setup_entity(var, config): | ||||
|     if CONF_ENTITY_CATEGORY in config: | ||||
|         add(var.set_entity_category(config[CONF_ENTITY_CATEGORY])) | ||||
|     if CONF_DEVICE_ID in config: | ||||
|         parent = await get_variable(config[CONF_DEVICE_ID]) | ||||
|         add(var.set_device_id(parent.get_id())) | ||||
|         device = await get_variable(config[CONF_DEVICE_ID]) | ||||
|         add(var.set_device_id(device.get_id())) | ||||
|  | ||||
|  | ||||
| def extract_registry_entry_config( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user