From 40793909bfa2f73c36e119e22f0b8aa3633078b6 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 28 Sep 2022 15:58:00 +1300 Subject: [PATCH] lowercase uuids --- aioesphomeapi/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioesphomeapi/model.py b/aioesphomeapi/model.py index 4d6b3bd..928fae2 100644 --- a/aioesphomeapi/model.py +++ b/aioesphomeapi/model.py @@ -759,7 +759,7 @@ def _long_uuid(uuid: str) -> str: """Convert a UUID to a long UUID.""" return ( f"0000{uuid[2:].lower()}-0000-1000-8000-00805f9b34fb" if len(uuid) < 8 else uuid - ) + ).lower() def _convert_bluetooth_le_service_uuids(value: List[str]) -> List[str]: