selectors: rename 'service' to 'action' (#33799)

This commit is contained in:
c0ffeeca7 2024-07-16 15:58:01 +02:00 committed by GitHub
parent a238cfc5e5
commit 5c0c9965ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1107,7 +1107,7 @@ number:
## Object selector ## Object selector
The object selector can be used to input arbitrary data in YAML form. This is useful for e.g. lists and dictionaries like service data. The value of the input will contain the provided data. The object selector can be used to input arbitrary data in YAML form. This is useful for e.g. lists and dictionaries containing data for actions. The value of the input will contain the provided data.
![Screenshot of an object selector](/images/blueprints/selector-object.png) ![Screenshot of an object selector](/images/blueprints/selector-object.png)
@ -1290,9 +1290,9 @@ For example: `heat_cool`.
## Target selector ## Target selector
The target selector is a rather special selector, allowing the user to select The target selector is a rather special selector, allowing the user to select
targeted entities, devices or areas for service calls. The value of targeted entities, devices, or areas for actions. The value of
the input will contain a special target format, that is accepted by the input will contain a special target format, that is accepted by
service calls. actions.
The selectable targets can be filtered, based on entity or device properties. The selectable targets can be filtered, based on entity or device properties.
Areas are only selectable as a target, if some entities or devices match Areas are only selectable as a target, if some entities or devices match
@ -1367,7 +1367,7 @@ entity:
{% important %} {% important %}
Targets are meant to be used with the `target` property of a service call in Targets are meant to be used with the `target` property of an action in
a script sequence. For example: a script sequence. For example:
```yaml ```yaml