mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Fix template select lambda (#2198)
This commit is contained in:
		| @@ -55,7 +55,7 @@ async def to_code(config): | ||||
|  | ||||
|     if CONF_LAMBDA in config: | ||||
|         template_ = await cg.process_lambda( | ||||
|             config[CONF_LAMBDA], [], return_type=cg.optional.template(str) | ||||
|             config[CONF_LAMBDA], [], return_type=cg.optional.template(cg.std_string) | ||||
|         ) | ||||
|         cg.add(var.set_template(template_)) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user