From c7a2d58c9ab4b4ff4dffce488efe2fef329766e5 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Tue, 8 Jan 2019 20:00:31 +0000 Subject: [PATCH] Highlighting that capitals aren't allowed ;) (#8103) Capitals aren't allowed in script names, but we don't mention that here --- source/_components/script.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/_components/script.markdown b/source/_components/script.markdown index 83dbb31c4f0..2df6e920d93 100644 --- a/source/_components/script.markdown +++ b/source/_components/script.markdown @@ -27,8 +27,7 @@ script:          message: Current temperature is {% raw %}{{ states.sensor.temperature.state }}{% endraw %} ```

-Script names (e.g., `message_temperature` in the example above) are not allowed to contain dash (minus) characters, i.e. `-`. -The preferred way to separate words for better readability is to use underscore (`_`) characters. +Script names (e.g., `message_temperature` in the example above) are not allowed to contain capital letters, or dash (minus) characters, i.e. `-`. The preferred way to separate words for better readability is to use underscore (`_`) characters.

```yaml