Add note about using shorthand condition templates in script sequences (#14433)

This commit is contained in:
Franck Nijhof 2020-09-08 16:30:08 +02:00 committed by GitHub
parent c039a605e1
commit fdfe2e1b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,6 +422,16 @@ But also in the `repeat` action's `while` or `until` option, or in a `choose` ac
{% endraw %}
<div class="note warning">
While conditions can be used in script sequences or automation actions, the
shorthand for template conditions cannot be used directly in those constructs.
However, if an used action supports conditions itself, like `choose` and
`repeat`, the shorthand template conditions will be accepted in those cases.
</div>
[template]: /topics/templating/
[automation-templating]: /getting-started/automation-templating/