mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2025-02-17 01:51:23 +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."""
|
"""Convert a UUID to a long UUID."""
|
||||||
return (
|
return (
|
||||||
f"0000{uuid[2:].lower()}-0000-1000-8000-00805f9b34fb" if len(uuid) < 8 else uuid
|
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]:
|
def _convert_bluetooth_le_service_uuids(value: List[str]) -> List[str]:
|
||||||
|
Loading…
Reference in New Issue
Block a user