diff --git a/homeassistant/components/hassio/services.yaml b/homeassistant/components/hassio/services.yaml index 38d78984ddc..3e5736c3593 100644 --- a/homeassistant/components/hassio/services.yaml +++ b/homeassistant/components/hassio/services.yaml @@ -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: