From ee528e1a60a230d69f1532a380696f2523b817a1 Mon Sep 17 00:00:00 2001 From: Petro31 <35082313+Petro31@users.noreply.github.com> Date: Fri, 30 Oct 2020 16:18:53 -0400 Subject: [PATCH] Add hassio service descriptions (#42597) * Add yaml for snapshot services Adds snapshot_full and snapshot_partial service descriptions. * fixes Added password to full & partial. Added name to partial. --- homeassistant/components/hassio/services.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/homeassistant/components/hassio/services.yaml b/homeassistant/components/hassio/services.yaml index 30314c646b0..8afdcc633bf 100644 --- a/homeassistant/components/hassio/services.yaml +++ b/homeassistant/components/hassio/services.yaml @@ -73,6 +73,32 @@ host_update: description: Optional or it will be use the latest version. example: "0.3" +snapshot_full: + description: Create a full snapshot. + fields: + name: + description: Optional or it will be the current date and time. + example: "Snapshot 1" + password: + description: Optional password. + example: "password" + +snapshot_partial: + description: Create a partial snapshot. + fields: + addons: + description: Optional list of addon slugs. + example: ["core_ssh", "core_samba", "core_mosquitto"] + folders: + description: Optional list of directories. + example: ["homeassistant", "share"] + name: + description: Optional or it will be the current date and time. + example: "Partial Snapshot 1" + password: + description: Optional password. + example: "password" + supervisor_reload: description: Reload the Hass.io supervisor.