diff --git a/source/_posts/2023-04-05-release-20234.markdown b/source/_posts/2023-04-05-release-20234.markdown index 9eba82dd585..6588344a514 100644 --- a/source/_posts/2023-04-05-release-20234.markdown +++ b/source/_posts/2023-04-05-release-20234.markdown @@ -350,46 +350,40 @@ entity, wait 24 hours after upgrading before renaming. ## New selector capabilities -{% details "TODO" %} +[Selectors](/docs/blueprint/selectors) are user inputs for the user interface +that drive things like [Blueprints](/get-blueprints). A new selector for use +in Blueprints has been added by [@emontnemery] and [@piitaya]: The constant selector. -- Keep or move to other noteworthy? -- Proof read/spelling/grammar -- Improve/better examples? -- Docs missing? +The constant selector provides an optional input, which returns a fixed value +(the constant) when enabled, otherwise doesn't provide any value at all. -- Add filter options to entity and device selectors ([@piitaya] - [#87536]) (noteworthy) -- Add support for constant selector ([@emontnemery] - [#89573]) (noteworthy) - -{% enddetails %} - -A new selector for use in your Blueprints has been added by [@emontnemery] -and [@piitaya]: The constant selector. - -The constant select provides an optional input, that provides a fixed value -(the constant) or doesn't provide anything at all. - - +Example use in a Blueprint: ```yaml -white: - name: White - description: Set the light to white mode - advanced: true +example: + name: Constant selector example selector: constant: - value: true label: Enabled + value: true ``` -Also improved this release, are the device and entity filters on the Area, -Entity, Device, and Target selectors. Previously, you could filter with a -single set of conditions, now you can pass in a list of filters. +Which results in the following: -If you are building Blueprints, this can be really helpful, if a user should -be able to select, for example, one of multiple different devices. +
+
+When checked, the selector returns the set value.
+