Skip to content

Commit dcb1aea

Browse files
tiktok7fabaff
authored andcommitted
input_select: add note about boolean equivalents (home-assistant#2891)
* input_select: add note about boolean equivalents * Put note in box
1 parent 76dd3fd commit dcb1aea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/_components/input_select.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ Configuration variables:
4343
4444
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`.
4545

46+
<p class='note'>
47+
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.
48+
</p>
49+
4650
### {% linkable_title Services %}
4751

4852
This components provide three services to modify the state of the `input_select`:

0 commit comments

Comments
 (0)