Skip to content

Commit

Permalink
Misc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
8none1 committed Nov 24, 2024
1 parent e8f7924 commit 9f36a9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/lednetwf_ble/lednetwf.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def __init__(self, mac, hass, data={}, options={}) -> None:
# This might hack in support for more than one model to a single abstraction....
# This is to attempt support for this issue: https://github.com/raulgbcr/lednetwf_ble/issues/26
# and avoid just making another copy of 0x62 and renaming it. This is a temporary fix until I work out a better way to do this.
# Perhaps maintaining a look up table in const would do?
if model_class_name == "Model0x55":
model_class_name = "Model0x62"
LOGGER.debug(f"Model class name: {model_class_name}")
Expand Down

0 comments on commit 9f36a9d

Please sign in to comment.