Allow wait template to run the remainder of the script#5954
Merged
frenck merged 4 commits intohome-assistant:nextfrom Aug 13, 2018
lhovo:next
Merged
Allow wait template to run the remainder of the script#5954frenck merged 4 commits intohome-assistant:nextfrom lhovo:next
frenck merged 4 commits intohome-assistant:nextfrom
lhovo:next
Conversation
3 tasks
frenck
approved these changes
Aug 13, 2018
frenck
approved these changes
Aug 13, 2018
Member
|
Thank you @lhovo! This looks great and really awesome feature! 👍 |
flo-wer
pushed a commit
to flo-wer/home-assistant.io
that referenced
this pull request
Aug 17, 2018
…t#5954) * Adding new proceed variable * Fixing documentation langauage * Updating documentation due to code changes * Changing default to continue to execute after delay
flo-wer
pushed a commit
to flo-wer/home-assistant.io
that referenced
this pull request
Aug 17, 2018
…t#5954) * Adding new proceed variable * Fixing documentation langauage * Updating documentation due to code changes * Changing default to continue to execute after delay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking changes
The wait template will now continue to run the remainder of the script on timeout, the original functionality can be gained by setting continue_on_timeout: 'false'.
Description:
This allows the Wait Template script to use a timer to continue running the script if timeout is reached vs the current behaviour of exiting.
This is achieved by setting a new flag 'proceed' to 'true' in the config.
By default this flag is set to 'false' and is optional to ensure this is not a breaking change.
For this flag to work the optional 'timeout' is required to be set also.
home-assistant/core#15836
Checklist:
current. New documentation for platforms/components and features should go tonext.