From 74a84971a2fc0743207cca89496dbbeae4bf7f78 Mon Sep 17 00:00:00 2001 From: Michael <35783820+mib1185@users.noreply.github.com> Date: Mon, 24 Mar 2025 12:56:33 +0100 Subject: [PATCH] Add sensor platform to backup integration (#37764) --- source/_integrations/backup.markdown | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/source/_integrations/backup.markdown b/source/_integrations/backup.markdown index d814d9e57c2..59b82a5b5f9 100644 --- a/source/_integrations/backup.markdown +++ b/source/_integrations/backup.markdown @@ -3,12 +3,15 @@ title: Backup description: Allow creating backups of container and core installations. ha_category: - Other + - Sensor ha_release: 2022.4 ha_quality_scale: internal ha_domain: backup ha_codeowners: - '@home-assistant/core' ha_iot_class: Calculated +ha_platforms: + - sensor ha_integration_type: system related: - docs: /common-tasks/general/#backups @@ -80,3 +83,24 @@ automation: ## Restoring a backup To restore a backup, follow the steps described in [Restoring a backup](/common-tasks/general/#restoring-a-backup). + +## Sensors + +The **Backup** {% term integration %} provides several sensors. + +### Backup Manager State + +The current state of the backup system. Possible states are: + +- Idle +- Creating a backup +- Receiving a backup +- Restoring a backup + +### Next scheduled automatic backup + +The timestamp of the next scheduled automatic backup. + +### Last successful automatic backup + +The timestamp of the last successful automatic backup.