mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-21 08:16:29 +00:00
parent
04b138287b
commit
3991559c78
@ -40,7 +40,7 @@ A couple of points to remember:
|
|||||||
|
|
||||||
Every platform page should contain a configuration sample. This sample must contain only the **required** variables to make it easy to copy and paste it for users into their `configuration.yaml` file.
|
Every platform page should contain a configuration sample. This sample must contain only the **required** variables to make it easy to copy and paste it for users into their `configuration.yaml` file.
|
||||||
|
|
||||||
The **Configuration Variables** section must use the {% raw %}`{% configuration %} ... {% endconfiguration %}`{% endraw %} tag.
|
The **Configuration Variables** section must use the `{% configuration %} ... {% endconfiguration %}` tag.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
@ -63,7 +63,6 @@ monitored_conditions:
|
|||||||
temperature:
|
temperature:
|
||||||
description: The current temperature.
|
description: The current temperature.
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Available keys:
|
Available keys:
|
||||||
@ -83,7 +82,7 @@ required: any string here #=> Any string here
|
|||||||
|
|
||||||
### Embedding Code
|
### Embedding Code
|
||||||
|
|
||||||
You can use the [default markdown syntax](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code) to generate syntax highlighted code. For inline code wrap your code in {% raw %}`{% endraw %}.
|
You can use the [default markdown syntax](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code) to generate syntax highlighted code. For inline code wrap your code in back-ticks.
|
||||||
|
|
||||||
When you're writing code that is to be executed on the terminal, prefix it with `$`.
|
When you're writing code that is to be executed on the terminal, prefix it with `$`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user