mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 00:48:19 +01: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:
parent
ef9e6e4d6e
commit
c3acf08c02
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
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 var
|
||||
|
||||
|
|
Loading…
Reference in a new issue