Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
11 lines
234 B
Python
11 lines
234 B
Python
"""Ecovacs util functions."""
|
|
|
|
import random
|
|
import string
|
|
|
|
|
|
def get_client_device_id() -> str:
|
|
"""Get client device id."""
|
|
return "".join(
|
|
random.choice(string.ascii_uppercase + string.digits) for _ in range(8)
|
|
)
|