From 197ff932af5c7f621fe59e6eb24e2267186bcd87 Mon Sep 17 00:00:00 2001
From: Raphael Hehl <7577984+RaHehl@users.noreply.github.com>
Date: Sat, 4 Jan 2025 00:27:06 +0100
Subject: [PATCH] Bump uiprotect to version 7.2.0 (#134587)

---
 .../components/unifiprotect/manifest.json      |  2 +-
 requirements_all.txt                           |  2 +-
 requirements_test_all.txt                      |  2 +-
 .../fixtures/sample_bootstrap.json             | 18 ++++++++++++++++++
 4 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/homeassistant/components/unifiprotect/manifest.json b/homeassistant/components/unifiprotect/manifest.json
index 1226f96c253..d4877798208 100644
--- a/homeassistant/components/unifiprotect/manifest.json
+++ b/homeassistant/components/unifiprotect/manifest.json
@@ -40,7 +40,7 @@
   "integration_type": "hub",
   "iot_class": "local_push",
   "loggers": ["uiprotect", "unifi_discovery"],
-  "requirements": ["uiprotect==7.1.0", "unifi-discovery==1.2.0"],
+  "requirements": ["uiprotect==7.2.0", "unifi-discovery==1.2.0"],
   "ssdp": [
     {
       "manufacturer": "Ubiquiti Networks",
diff --git a/requirements_all.txt b/requirements_all.txt
index 0fc738bed0a..84b448c5508 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -2928,7 +2928,7 @@ typedmonarchmoney==0.3.1
 uasiren==0.0.1
 
 # homeassistant.components.unifiprotect
-uiprotect==7.1.0
+uiprotect==7.2.0
 
 # homeassistant.components.landisgyr_heat_meter
 ultraheat-api==0.5.7
diff --git a/requirements_test_all.txt b/requirements_test_all.txt
index a933b24d501..653d8c3f500 100644
--- a/requirements_test_all.txt
+++ b/requirements_test_all.txt
@@ -2350,7 +2350,7 @@ typedmonarchmoney==0.3.1
 uasiren==0.0.1
 
 # homeassistant.components.unifiprotect
-uiprotect==7.1.0
+uiprotect==7.2.0
 
 # homeassistant.components.landisgyr_heat_meter
 ultraheat-api==0.5.7
diff --git a/tests/components/unifiprotect/fixtures/sample_bootstrap.json b/tests/components/unifiprotect/fixtures/sample_bootstrap.json
index 240a9938b64..4c8d86a787d 100644
--- a/tests/components/unifiprotect/fixtures/sample_bootstrap.json
+++ b/tests/components/unifiprotect/fixtures/sample_bootstrap.json
@@ -564,6 +564,24 @@
   "legacyUFVs": [],
   "lastUpdateId": "ebf25bac-d5a1-4f1d-a0ee-74c15981eb70",
   "displays": [],
+  "ringtones": [
+    {
+      "id": "66a14fa502d44203e40003eb",
+      "name": "Default",
+      "size": 208,
+      "isDefault": true,
+      "nvrMac": "A1E00C826924",
+      "modelKey": "ringtone"
+    },
+    {
+      "id": "66a14fa502da4203e40003ec",
+      "name": "Traditional",
+      "size": 180,
+      "isDefault": false,
+      "nvrMac": "A1E00C826924",
+      "modelKey": "ringtone"
+    }
+  ],
   "bridges": [
     {
       "mac": "A28D0DB15AE1",
-- 
GitLab