Highlighting that capitals aren't allowed ;) (#8103)

Capitals aren't allowed in script names, but we don't mention that here
This commit is contained in:
DubhAd 2019-01-08 20:00:31 +00:00 committed by Fabian Affolter
parent 8f4dfd7600
commit c7a2d58c9a

View File

@ -27,8 +27,7 @@ script:
         message: Current temperature is {% raw %}{{ states.sensor.temperature.state }}{% endraw %}
```
<p class='note'>
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.
</p>
```yaml