diff --git a/custom_components/xiaomi_home/miot/miot_spec.py b/custom_components/xiaomi_home/miot/miot_spec.py index f4a1968..2866853 100644 --- a/custom_components/xiaomi_home/miot/miot_spec.py +++ b/custom_components/xiaomi_home/miot/miot_spec.py @@ -155,6 +155,7 @@ class MIoTSpecValueListItem: class MIoTSpecValueList: """MIoT SPEC value list class.""" + # pylint: disable=inconsistent-quotes items: list[MIoTSpecValueListItem] def __init__(self, value_list: list[dict]) -> None: @@ -218,6 +219,7 @@ class MIoTSpecValueList: class _SpecStdLib: """MIoT-Spec-V2 standard library.""" + # pylint: disable=inconsistent-quotes _lang: str _devices: dict[str, dict[str, str]] _services: dict[str, dict[str, str]] diff --git a/custom_components/xiaomi_home/miot/miot_storage.py b/custom_components/xiaomi_home/miot/miot_storage.py index e46ed51..a2e9741 100644 --- a/custom_components/xiaomi_home/miot/miot_storage.py +++ b/custom_components/xiaomi_home/miot/miot_storage.py @@ -67,9 +67,7 @@ from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import ed25519 # pylint: disable=relative-beyond-top-level -from .common import load_json_file from .const import ( - DEFAULT_INTEGRATION_LANGUAGE, MANUFACTURER_EFFECTIVE_TIME, MIHOME_CA_CERT_STR, MIHOME_CA_CERT_SHA256)