mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-28 13:05:12 +01:00
Fix string repr
This commit is contained in:
parent
8560a3611c
commit
a58044bbe6
@ -765,7 +765,7 @@ def _long_uuid(uuid: str) -> str:
|
|||||||
|
|
||||||
def _join_split_uuid(value: List[int]) -> str:
|
def _join_split_uuid(value: List[int]) -> str:
|
||||||
"""Convert a high/low uuid into a single string."""
|
"""Convert a high/low uuid into a single string."""
|
||||||
return uuid.UUID(int=(value[0] << 64) | value[1]).__str__()
|
return str(uuid.UUID(int=(value[0] << 64) | value[1]))
|
||||||
|
|
||||||
|
|
||||||
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