From 0fca3acb6102f218df188215852b3a713dfe9988 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 12 Aug 2018 17:53:39 +0200 Subject: [PATCH] Use map (fixes #63) (#70) --- docs/documentation_create_page.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/documentation_create_page.md b/docs/documentation_create_page.md index 1486ae35..f555d951 100644 --- a/docs/documentation_create_page.md +++ b/docs/documentation_create_page.md @@ -56,7 +56,7 @@ name: monitored_conditions: description: Conditions to display in the frontend. required: true - type: list + type: map keys: weather: description: A human-readable text summary. @@ -77,7 +77,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 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` (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). - **`default:`**: The default value for the variable. ### Embedding Code