Skip to content

Commit

Permalink
Minor code tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
monty68 committed Dec 2, 2024
1 parent c51d46f commit 13aaeba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/uniled/lib/ble/sp63x_64xe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -99,6 +98,7 @@ def parse_notifications(
device, (), data[:_HEADER_LENGTH], data[_HEADER_LENGTH:]
)


##
## BanlanX - SP6xxE Device Proxy
##
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 13aaeba

Please sign in to comment.