From 06fc1e73618c79f44b15df594a6549b4eb9b1fb9 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 15 Oct 2018 13:41:10 +0200 Subject: [PATCH] Type boolean requires documentation default. (#125) --- docs/documentation_create_page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation_create_page.md b/docs/documentation_create_page.md index afac4eb5..b92c4e7e 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: `boolean`, `string`, `integer`, `float`, `time`, `template`, `device_class`, `icon` or `map`/`list` (for a list of entries). For multiple possibilities use `[string, integer]`. If you use `map`/`list` then you need to define `keys:` (see the [`template` sensor](https://www.home-assistant.io/components/sensor.template/) for an example). +- **`type:`**: The type of the variable. Allowed entries: `boolean`, `string`, `integer`, `float`, `time`, `template`, `device_class`, `icon` or `map`/`list` (for a list of entries). 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