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:
|
install:
|
||||||
name: Install update
|
|
||||||
description: Install an update for this device or service
|
|
||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: update
|
domain: update
|
||||||
fields:
|
fields:
|
||||||
version:
|
version:
|
||||||
name: Version
|
|
||||||
description: Version to install, if omitted, the latest version will be installed.
|
|
||||||
required: false
|
required: false
|
||||||
example: "1.0.0"
|
example: "1.0.0"
|
||||||
selector:
|
selector:
|
||||||
text:
|
text:
|
||||||
backup:
|
backup:
|
||||||
name: Backup
|
|
||||||
description: Backup before installing the update, if supported by the integration.
|
|
||||||
required: false
|
required: false
|
||||||
selector:
|
selector:
|
||||||
boolean:
|
boolean:
|
||||||
|
|
||||||
skip:
|
skip:
|
||||||
name: Skip update
|
|
||||||
description: Mark currently available update as skipped.
|
|
||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: update
|
domain: update
|
||||||
|
|
||||||
clear_skipped:
|
clear_skipped:
|
||||||
name: Clear skipped update
|
|
||||||
description: Removes the skipped version marker from an update.
|
|
||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: update
|
domain: update
|
||||||
|
|
|
@ -14,5 +14,29 @@
|
||||||
"firmware": {
|
"firmware": {
|
||||||
"name": "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