mirror of https://github.com/home-assistant/core
Add service descriptions for supervisor backup restore services (#52766)
* Add service descriptions for supervisor backup restore * Add fields to restore services * Update homeassistant/components/hassio/services.yaml Co-authored-by: Joakim Sørensen <hi@ludeeus.dev> Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
parent
755835ee2e
commit
364edbfd8a
|
@ -72,8 +72,8 @@ snapshot_full:
|
|||
fields:
|
||||
name:
|
||||
name: Name
|
||||
description: Optional or it will be the current date and time.
|
||||
example: "backup 1"
|
||||
description: Optional (default = current date and time).
|
||||
example: "Backup 1"
|
||||
selector:
|
||||
text:
|
||||
password:
|
||||
|
@ -89,7 +89,7 @@ snapshot_partial:
|
|||
fields:
|
||||
addons:
|
||||
name: Add-ons
|
||||
description: Optional list of addon slugs.
|
||||
description: Optional list of add-on slugs.
|
||||
example: ["core_ssh", "core_samba", "core_mosquitto"]
|
||||
selector:
|
||||
object:
|
||||
|
@ -101,7 +101,7 @@ snapshot_partial:
|
|||
object:
|
||||
name:
|
||||
name: Name
|
||||
description: Optional or it will be the current date and time.
|
||||
description: Optional (default = current date and time).
|
||||
example: "Partial backup 1"
|
||||
selector:
|
||||
text:
|
||||
|
@ -118,8 +118,8 @@ backup_full:
|
|||
fields:
|
||||
name:
|
||||
name: Name
|
||||
description: Optional or it will be the current date and time.
|
||||
example: "backup 1"
|
||||
description: Optional (default = current date and time).
|
||||
example: "Backup 1"
|
||||
selector:
|
||||
text:
|
||||
password:
|
||||
|
@ -135,7 +135,7 @@ backup_partial:
|
|||
fields:
|
||||
addons:
|
||||
name: Add-ons
|
||||
description: Optional list of addon slugs.
|
||||
description: Optional list of add-on slugs.
|
||||
example: ["core_ssh", "core_samba", "core_mosquitto"]
|
||||
selector:
|
||||
object:
|
||||
|
@ -147,7 +147,7 @@ backup_partial:
|
|||
object:
|
||||
name:
|
||||
name: Name
|
||||
description: Optional or it will be the current date and time.
|
||||
description: Optional (default = current date and time).
|
||||
example: "Partial backup 1"
|
||||
selector:
|
||||
text:
|
||||
|
@ -157,3 +157,41 @@ backup_partial:
|
|||
example: "password"
|
||||
selector:
|
||||
text:
|
||||
|
||||
restore_full:
|
||||
name: Restore from full backup.
|
||||
description: Restore from full backup.
|
||||
fields:
|
||||
slug:
|
||||
name: Slug
|
||||
description: Slug of backup to restore from.
|
||||
selector:
|
||||
text:
|
||||
password:
|
||||
name: Password
|
||||
description: Optional password.
|
||||
example: "password"
|
||||
selector:
|
||||
text:
|
||||
|
||||
restore_partial:
|
||||
name: Restore from partial backup.
|
||||
description: Restore from partial backup.
|
||||
fields:
|
||||
homeassistant:
|
||||
name: Home Assistant settings
|
||||
description: Restore Home Assistant
|
||||
selector:
|
||||
boolean:
|
||||
folders:
|
||||
name: Folders
|
||||
description: Optional list of directories.
|
||||
example: ["homeassistant", "share"]
|
||||
selector:
|
||||
object:
|
||||
addons:
|
||||
name: Add-ons
|
||||
description: Optional list of add-on slugs.
|
||||
example: ["core_ssh", "core_samba", "core_mosquitto"]
|
||||
selector:
|
||||
object:
|
||||
|
|
Loading…
Reference in New Issue