mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	fix script.wait action (#1120)
Co-authored-by: Samuel Sieb <samuel@sieb.net> Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
		| @@ -48,7 +48,7 @@ def script_stop_action_to_code(config, action_id, template_arg, args): | |||||||
| })) | })) | ||||||
| def script_wait_action_to_code(config, action_id, template_arg, args): | def script_wait_action_to_code(config, action_id, template_arg, args): | ||||||
|     paren = yield cg.get_variable(config[CONF_ID]) |     paren = yield cg.get_variable(config[CONF_ID]) | ||||||
|     var = cg.new_Pvariable(action_id, template_arg, paren) |     var = yield cg.new_Pvariable(action_id, template_arg, paren) | ||||||
|     yield cg.register_component(var, {}) |     yield cg.register_component(var, {}) | ||||||
|     yield var |     yield var | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user