Skip to content

Commit

Permalink
Fix malformed uuids
Browse files Browse the repository at this point in the history
  • Loading branch information
mj23000 committed Jan 3, 2025
1 parent d6fa71d commit c6afdcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/bang_olufsen/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion custom_components/bang_olufsen/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."]
}

0 comments on commit c6afdcc

Please sign in to comment.