Migrate update services to support translations (#96395)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>pull/96693/head
parent
e513b7d0eb
commit
c5cd7e5897
|
@ -1,34 +1,24 @@
|
|||
install:
|
||||
name: Install update
|
||||
description: Install an update for this device or service
|
||||
target:
|
||||
entity:
|
||||
domain: update
|
||||
fields:
|
||||
version:
|
||||
name: Version
|
||||
description: Version to install, if omitted, the latest version will be installed.
|
||||
required: false
|
||||
example: "1.0.0"
|
||||
selector:
|
||||
text:
|
||||
backup:
|
||||
name: Backup
|
||||
description: Backup before installing the update, if supported by the integration.
|
||||
required: false
|
||||
selector:
|
||||
boolean:
|
||||
|
||||
skip:
|
||||
name: Skip update
|
||||
description: Mark currently available update as skipped.
|
||||
target:
|
||||
entity:
|
||||
domain: update
|
||||
|
||||
clear_skipped:
|
||||
name: Clear skipped update
|
||||
description: Removes the skipped version marker from an update.
|
||||
target:
|
||||
entity:
|
||||
domain: update
|
||||
|
|
|
@ -14,5 +14,29 @@
|
|||
"firmware": {
|
||||
"name": "Firmware"
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"install": {
|
||||
"name": "Install update",
|
||||
"description": "Installs an update for this device or service.",
|
||||
"fields": {
|
||||
"version": {
|
||||
"name": "Version",
|
||||
"description": "The version to install. If omitted, the latest version will be installed."
|
||||
},
|
||||
"backup": {
|
||||
"name": "Backup",
|
||||
"description": "If supported by the integration, this creates a backup before starting the update ."
|
||||
}
|
||||
}
|
||||
},
|
||||
"skip": {
|
||||
"name": "Skip update",
|
||||
"description": "Marks currently available update as skipped."
|
||||
},
|
||||
"clear_skipped": {
|
||||
"name": "Clear skipped update",
|
||||
"description": "Removes the skipped version marker from an update."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue