From dcb1aea4d771e7fe2a2bac157587dd2bfb8f9a0d Mon Sep 17 00:00:00 2001 From: Will W Date: Tue, 27 Jun 2017 03:13:55 +0900 Subject: [PATCH] input_select: add note about boolean equivalents (#2891) * input_select: add note about boolean equivalents * Put note in box --- source/_components/input_select.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/input_select.markdown b/source/_components/input_select.markdown index 45dbc19c0d8..d41555c13ab 100644 --- a/source/_components/input_select.markdown +++ b/source/_components/input_select.markdown @@ -43,6 +43,10 @@ Configuration variables: Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`. +

+Because YAML defines [booleans](http://yaml.org/type/bool.html) as equivalent, any variations of 'On', 'Yes', 'Y', 'Off', 'No', or 'N' (regardless of case) used as option names will be replaced by True and False unless they are defined in quotation marks. +

+ ### {% linkable_title Services %} This components provide three services to modify the state of the `input_select`: