Skip to content

Commit

Permalink
Merge pull request #53 from monty68/dev_v2
Browse files Browse the repository at this point in the history
Fix Issue #52
  • Loading branch information
monty68 authored Jan 22, 2024
2 parents 3574a5d + 4f09b3e commit 0d0381c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions custom_components/uniled/lib/ble/banlanx2.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,9 +697,8 @@ def fetch_chip_order_list(
id=0x611E,
name="SP611E",
info="SPI RGB (Music) Controller",
# Fix: Issue #47 - Second byte can be different so only check first byte is '0x04'
data=b"\x04",
# data=b"\x04\x10",
# Fix: Issue #47 and #52 - Second byte can be different so only check first byte
data=[b"\x04", b"\x10", b"\x11", b"\x12", b"\x13", b"\x14", b"\x15"],
colors=3,
intmic=True,
)
Expand All @@ -726,7 +725,7 @@ def fetch_chip_order_list(
id=0x621E,
name="SP621E",
info="Mini SPI RGB Controller",
data=b"\x0d\x00",
data=[b"\x0d", b"\x16"],
colors=3,
intmic=False,
)
2 changes: 1 addition & 1 deletion custom_components/uniled/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"pycryptodome>=3.17",
"cryptography"
],
"version": "2.2.3"
"version": "2.2.4"
}

0 comments on commit 0d0381c

Please sign in to comment.