diff --git a/custom_components/xiaomi_home/miot/miot_lan.py b/custom_components/xiaomi_home/miot/miot_lan.py index b2b4d03..600afc1 100644 --- a/custom_components/xiaomi_home/miot/miot_lan.py +++ b/custom_components/xiaomi_home/miot/miot_lan.py @@ -58,7 +58,7 @@ import secrets import socket import struct import threading -from typing import Callable, Optional, final, Coroutine, Any +from typing import Any, Callable, Coroutine, Optional, final from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes from cryptography.hazmat.primitives import padding from cryptography.hazmat.backends import default_backend diff --git a/custom_components/xiaomi_home/miot/miot_network.py b/custom_components/xiaomi_home/miot/miot_network.py index 70c3dc4..160d660 100644 --- a/custom_components/xiaomi_home/miot/miot_network.py +++ b/custom_components/xiaomi_home/miot/miot_network.py @@ -52,7 +52,7 @@ import socket from dataclasses import dataclass from enum import Enum, auto import subprocess -from typing import Callable, Optional, Coroutine +from typing import Callable, Coroutine, Optional import psutil import ipaddress