From c6afdcc435c58e9811c1c1845a0fc1d904cd4c2a Mon Sep 17 00:00:00 2001 From: mj23000 Date: Fri, 3 Jan 2025 19:01:09 +0100 Subject: [PATCH] Fix malformed uuids --- custom_components/bang_olufsen/config_flow.py | 2 +- custom_components/bang_olufsen/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/bang_olufsen/config_flow.py b/custom_components/bang_olufsen/config_flow.py index 5cd9164..ed3f15a 100644 --- a/custom_components/bang_olufsen/config_flow.py +++ b/custom_components/bang_olufsen/config_flow.py @@ -77,7 +77,7 @@ def halo_uuid() -> str: # UUIDs from uuid1() are not unique when generated in Home Assistant (???) # Use this function to generate and format UUIDs instead. temp_uuid = random_uuid_hex() - return f"{temp_uuid[:8]}-{temp_uuid[8:12]}-{temp_uuid[12:16]}-{temp_uuid[16:20]}-{temp_uuid[20:32]}-" + return f"{temp_uuid[:8]}-{temp_uuid[8:12]}-{temp_uuid[12:16]}-{temp_uuid[16:20]}-{temp_uuid[20:32]}" class BangOlufsenEntryData(TypedDict, total=False): diff --git a/custom_components/bang_olufsen/manifest.json b/custom_components/bang_olufsen/manifest.json index 342d998..39fc2f6 100644 --- a/custom_components/bang_olufsen/manifest.json +++ b/custom_components/bang_olufsen/manifest.json @@ -8,6 +8,6 @@ "iot_class": "local_push", "issue_tracker": "https://github.com/bang-olufsen/bang_olufsen-hacs/issues", "requirements": ["mozart-api==4.1.1.116.4"], - "version": "3.4.0", + "version": "3.4.1", "zeroconf": ["_bangolufsen._tcp.local.", "_zenith._tcp.local."] }