Update list/map (fixes #104) (#105)

This commit is contained in:
Fabian Affolter 2018-10-02 10:34:48 +02:00 committed by GitHub
parent 9e84b29dbf
commit fbfa4641e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 %}
```