From fdfe2e1b7f9f492040ee610f3c16eedefff63306 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 8 Sep 2020 16:30:08 +0200 Subject: [PATCH] Add note about using shorthand condition templates in script sequences (#14433) --- source/_docs/scripts/conditions.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/_docs/scripts/conditions.markdown b/source/_docs/scripts/conditions.markdown index 74ffbd3886f..0e60fb41f4e 100644 --- a/source/_docs/scripts/conditions.markdown +++ b/source/_docs/scripts/conditions.markdown @@ -422,6 +422,16 @@ But also in the `repeat` action's `while` or `until` option, or in a `choose` ac {% endraw %} +
+ +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. + +
+ [template]: /topics/templating/ [automation-templating]: /getting-started/automation-templating/