Skip to content

Commit

Permalink
Move 0x55 to be supported by 0x54 model
Browse files Browse the repository at this point in the history
  • Loading branch information
8none1 committed Feb 26, 2025
1 parent 6e63e1d commit 2642f7a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file removed custom_components/lednetwf_ble/lednetwf.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion custom_components/lednetwf_ble/models/model_0x53.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
EFFECT_OFF
)

SUPPORTED_MODELS = [0x00, 0x53, 0x55] # Probably 0x55 is not supported here, but in 0x54 instead
SUPPORTED_MODELS = [0x00, 0x53]

EFFECTS_LIST_0x53 = [
"Gold Ring",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/lednetwf_ble/models/model_0x54.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
EFFECT_OFF
)

SUPPORTED_MODELS = [0x54, 0x62]
SUPPORTED_MODELS = [0x54, 0x55, 0x62]

# This device only supports three colour orders, so override the defaults with our own
# In order to maintain compatibility with the rest of the code, we'll use some of the same values for unsupported colour orders
Expand Down

0 comments on commit 2642f7a

Please sign in to comment.