Skip to content

Add device type 105 (SingleChipFullColorBulbA21Gen2 / "Direct Connect A21") to Capabilities table #164

Description

@imwithsam

Device type 105 (GE Cync "Direct Connect A21" full-color bulb — confirmed via live account data) is missing from every capability list in Capabilities (ONOFF, BRIGHTNESS, COLORTEMP, RGB, WIFICONTROL). Since every derived capability flag is device_type in Capabilities[...], this causes the integration to treat these bulbs as having zero capabilities at all — no entity created correctly, missing from switchID_to_homeID/home_controllers since WIFICONTROL gates that. Confirmed the correct classification independently against the official cync integration's own device table (pycync), which already maps 105 → SingleChipFullColorBulbA21Gen2.

Diff (in cync_hub.py, top of file):

-    "ONOFF":[1,5,6,7,8,9,...,85,128,...]
+    "ONOFF":[1,5,6,7,8,9,...,85,105,128,...]
-    "BRIGHTNESS":[1,5,6,...,85,128,...]
+    "BRIGHTNESS":[1,5,6,...,85,105,128,...]
-    "COLORTEMP":[5,6,...,85,129,...]
+    "COLORTEMP":[5,6,...,85,105,129,...]
-    "RGB":[6,7,8,...,47,131,...]
+    "RGB":[6,7,8,...,47,105,131,...]
-    "WIFICONTROL":[36,37,...,81,128,...]
+    "WIFICONTROL":[36,37,...,81,105,128,...]

Tested live: confirmed the fix produces a correctly-derived config (all capability flags True, proper switch_controller/switchID_to_homeID entries) via a fresh account login, entities register cleanly with no errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions