UniFi Protect cleanup and enable unadopted devices (#73860)
This commit is contained in:
parent
5c5fd746fd
commit
01a9367281
24 changed files with 258 additions and 114 deletions
|
@ -284,7 +284,7 @@ def ids_from_device_description(
|
|||
def generate_random_ids() -> tuple[str, str]:
|
||||
"""Generate random IDs for device."""
|
||||
|
||||
return random_hex(24).upper(), random_hex(12).upper()
|
||||
return random_hex(24).lower(), random_hex(12).upper()
|
||||
|
||||
|
||||
def regenerate_device_ids(device: ProtectAdoptableDeviceModel) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue