From fbfa4641e07f7bec19613c489ac6886c6209d33e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 2 Oct 2018 10:34:48 +0200 Subject: [PATCH] Update list/map (fixes #104) (#105) --- docs/documentation_create_page.md | 2 +- docs/documentation_standards.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/documentation_create_page.md b/docs/documentation_create_page.md index 86bf285e..9e3eae1c 100644 --- a/docs/documentation_create_page.md +++ b/docs/documentation_create_page.md @@ -89,7 +89,7 @@ required: inclusive #=> Inclusive required: exclusive #=> Exclusive required: any string here #=> Any string here ``` -- **`type:`**: The type of the variable. Allowed entries: `string`, `int`, `time`, `template` or `map` (for a list of entries). For multiple possibilities use `[string, int]`. If you use `map` then you need to define `keys:` (see the [`template` sensor](/components/sensor.template/) for an example). +- **`type:`**: The type of the variable. Allowed entries: `string`, `int`, `time`, `template` or `map`/`list` (for a list of entries). For multiple possibilities use `[string, int]`. If you use `map`/`list` then you need to define `keys:` (see the [`template` sensor](/components/sensor.template/) for an example). - **`default:`**: The default value for the variable. ### Embedding Code diff --git a/docs/documentation_standards.md b/docs/documentation_standards.md index 4b0aa900..e5ac95d9 100644 --- a/docs/documentation_standards.md +++ b/docs/documentation_standards.md @@ -34,7 +34,7 @@ Example configuration block some_key: description: This is a description of what this key is for. required: false - type: string, list + type: string default: Optional default value - leave out if there isn't one {% endconfiguration %} ```