Convert service data table to configuration_basic (#32640)

This commit is contained in:
Joakim Sørensen 2024-05-08 15:16:02 +02:00 committed by GitHub
parent f11e5a2c2a
commit 526f1c3fc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,11 +73,16 @@ this capability. Additionally, if allowed by the {% term integration %}, the ser
provides for installing a specific version and even could make a
backup before installing the update.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of strings that point at `entity_id`s of updates. To target all updates, set `entity_id` to `all`.
| `version` | yes | A specific update version to install, if not provided, the latest available update will be installed. Availability of this atrribute is dependent on the {% term integration %}.
| `backup` | yes | If set to `true`, a backup will be made before installing the update. Availability of this attribute is dependent on the {% term integration %}.
#### Service data attributes
{% configuration_basic %}
entity_id (required):
description: "String or list of strings that point at `entity_id`s of updates. To target all updates, set `entity_id` to `all`."
version:
description: "A specific update version to install, if not provided, the latest available update will be installed. Availability of this attribute is dependent on the {% term integration %}."
backup:
description: "If set to `true`, a backup will be made before installing the update. Availability of this attribute is dependent on the {% term integration %}."
{% endconfiguration_basic %}
Example service call: