mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 19:06:30 +00:00
Adding missing configuration block types and link information. (#1087)
This commit is contained in:
parent
ccf6b4f438
commit
209bbe8f1f
@ -89,8 +89,7 @@ required: exclusive #=> Exclusive
|
|||||||
required: any string here #=> Any string here
|
required: any string here #=> Any string here
|
||||||
```
|
```
|
||||||
|
|
||||||
- **`type:`**: The type of the variable. Allowed entries: `boolean`, `string`, `integer`, `float`, `time`, `template`, `device_class`, `icon`, `map`/`list` (for a list of entries) and `any`. For multiple possibilities use `[string, integer]`. If you use `map`/`list` then should define `keys:` (see the [`template` sensor](https://www.home-assistant.io/components/sensor.template/) for an example). If you use `boolean`, then `default:` must be defined.
|
- **`type:`**: The type of the variable. Allowed entries: `action`, `boolean`, `string`, `integer`, `float`, `time`, `template`, `device_class`, `icon`, `map`/`list` (for a list of entries), `date`, `datetime`, `selector`, and `any`. For multiple possibilities use `[string, integer]`. If you use `map`/`list` then should define `keys:` (see the [`template` sensor](https://www.home-assistant.io/components/sensor.template/) for an example). If you use `boolean`, then `default:` must be defined.
|
||||||
- **`default:`**: The default value for the variable.
|
|
||||||
|
|
||||||
### Embedding Code
|
### Embedding Code
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user