mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
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:
parent
8f4dfd7600
commit
c7a2d58c9a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user