Resolve issue with delay not passing variables to render (#3901)

This commit is contained in:
Lewis Juggins 2016-10-17 00:08:12 +01:00 committed by Paulus Schoutsen
parent 71ee847aee
commit 10c9132046
2 changed files with 3 additions and 2 deletions

View file

@ -222,7 +222,7 @@ class TestScriptHelper(unittest.TestCase):
'hello': '{{ greeting }}',
},
},
{'delay': {'seconds': 5}},
{'delay': '{{ delay_period }}'},
{
'service': 'test.script',
'data_template': {
@ -233,6 +233,7 @@ class TestScriptHelper(unittest.TestCase):
script_obj.run({
'greeting': 'world',
'greeting2': 'universe',
'delay_period': '00:00:05'
})
self.hass.block_till_done()