From 5c37a86d2b0b18e6dfb6e70e59ccb649730398f9 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Sat, 7 Jun 2025 07:15:43 -0700 Subject: [PATCH] Update selectors.markdown --- source/_docs/blueprint/selectors.markdown | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/_docs/blueprint/selectors.markdown b/source/_docs/blueprint/selectors.markdown index 33a582dc92b..8515a63a6f5 100644 --- a/source/_docs/blueprint/selectors.markdown +++ b/source/_docs/blueprint/selectors.markdown @@ -1297,7 +1297,7 @@ would return ["Green"] and in the last example it returns ["g"]. ## State selector The state selector shows a list of states for a provided entity of which -one can be selected. +one or more can be selected. ![Screenshot of an state selector](/images/blueprints/selector-state.png) @@ -1306,10 +1306,17 @@ entity_id: description: The entity ID of which an state can be selected from. type: string 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 %} 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`.