From 5872314fb8af1308700fba5a1f0dd174e61fb955 Mon Sep 17 00:00:00 2001 From: monty68 <4341648+monty68@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:23:22 +0000 Subject: [PATCH 1/2] Bump --- custom_components/uniled/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/uniled/manifest.json b/custom_components/uniled/manifest.json index 31bc8e1..c3d6e7a 100644 --- a/custom_components/uniled/manifest.json +++ b/custom_components/uniled/manifest.json @@ -19,5 +19,5 @@ "pycryptodome>=3.17", "cryptography" ], - "version": "2.2.3" + "version": "2.2.4" } From 4f09b3e124e930c7be29af05425a61f3f0a5779d Mon Sep 17 00:00:00 2001 From: monty68 <4341648+monty68@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:23:45 +0000 Subject: [PATCH 2/2] Additional SP611E and SP621E device versions --- custom_components/uniled/lib/ble/banlanx2.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/custom_components/uniled/lib/ble/banlanx2.py b/custom_components/uniled/lib/ble/banlanx2.py index f6df895..40003d8 100644 --- a/custom_components/uniled/lib/ble/banlanx2.py +++ b/custom_components/uniled/lib/ble/banlanx2.py @@ -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, ) @@ -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, )