From 13aaebab1b2726401c04e416d661e25843b41d14 Mon Sep 17 00:00:00 2001 From: monty68 <4341648+monty68@users.noreply.github.com> Date: Mon, 2 Dec 2024 07:31:40 +0000 Subject: [PATCH] Minor code tidy up --- custom_components/uniled/lib/ble/sp63x_64xe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/uniled/lib/ble/sp63x_64xe.py b/custom_components/uniled/lib/ble/sp63x_64xe.py index 5719fea..1fe1476 100644 --- a/custom_components/uniled/lib/ble/sp63x_64xe.py +++ b/custom_components/uniled/lib/ble/sp63x_64xe.py @@ -2,7 +2,6 @@ from __future__ import annotations from typing import Final -from itertools import chain from ..discovery import UniledProxy from ..sptech_model import SPTechModel @@ -99,6 +98,7 @@ def parse_notifications( device, (), data[:_HEADER_LENGTH], data[_HEADER_LENGTH:] ) + ## ## BanlanX - SP6xxE Device Proxy ## @@ -227,7 +227,7 @@ def match_model_code(self, code: int) -> UniledBleModel | None: return None def match_ble_model(self, model: str) -> UniledBleModel | None: - """Match a device model name - Deprecated!""" + """Match a device model name""" return self.match_model_name(name=model) def match_ble_device(