Skip to content

Commit

Permalink
Additional SP611E and SP621E device versions
Browse files Browse the repository at this point in the history
  • Loading branch information
monty68 committed Jan 22, 2024
1 parent 5872314 commit 4f09b3e
Showing 1 changed file with 3 additions and 4 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,
)

0 comments on commit 4f09b3e

Please sign in to comment.