mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 19:57:12 +00:00
Update selectors.markdown
This commit is contained in:
parent
9419017fa6
commit
5c37a86d2b
@ -1297,7 +1297,7 @@ would return ["Green"] and in the last example it returns ["g"].
|
|||||||
## State selector
|
## State selector
|
||||||
|
|
||||||
The state selector shows a list of states for a provided entity of which
|
The state selector shows a list of states for a provided entity of which
|
||||||
one can be selected.
|
one or more can be selected.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -1306,10 +1306,17 @@ entity_id:
|
|||||||
description: The entity ID of which an state can be selected from.
|
description: The entity ID of which an state can be selected from.
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
|
multiple:
|
||||||
|
description: >
|
||||||
|
Allows selecting multiple states. If set to `true`, the resulting value of
|
||||||
|
this selector will be a list instead of a single string value.
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
required: false
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
The output of this selector is the select state (not the translated or
|
The output of this selector is the select state (not the translated or
|
||||||
prettified name shown in the frontend).
|
prettified name shown in the frontend), or a list of states if `multiple` is true.
|
||||||
|
|
||||||
For example: `heat_cool`.
|
For example: `heat_cool`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user