mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-28 13:05:12 +01:00
lowercase uuids
This commit is contained in:
parent
a3904aabfd
commit
40793909bf
@ -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]:
|
||||
|
Loading…
Reference in New Issue
Block a user