cync_lights icon indicating copy to clipboard operation
cync_lights copied to clipboard

Cync Motion + Dimmer (no neutral) switches failing after upgrade to latest release

Open Anon666333 opened this issue 2 years ago • 2 comments

I have two Motion activated Dimmer switches (no neutral) from Cync. These were working fine prior to upgrading. After upgrading, they no longer connect, but they are connected to the WiFi and bluetooth on my phone. See below the slightly uninformative error message:

2023-02-13 14:58:50.321 ERROR (MainThread) [homeassistant.components.light] Error while setting up cync_lights platform for light Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/cync_lights/light.py", line 23, in async_setup_entry if not hub.cync_rooms[room]._update_callback and (room in config_entry.options["rooms"] or room in config_entry.options["subgroups"]): KeyError: 'subgroups' 2023-02-13 14:58:50.504 ERROR (Thread-2 (_start_tcp_client)) [custom_components.cync_lights.cync_hub] ShuttingDown:

Anon666333 avatar Feb 13 '23 20:02 Anon666333

Try deleting your current configuration and then signing back in.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Anon666333 @.> Sent: Monday, February 13, 2023 12:05:05 PM To: nikshriv/cync_lights @.> Cc: Subscribed @.***> Subject: [nikshriv/cync_lights] Cync Motion + Dimmer (no neutral) switches failing after upgrade to latest release (Issue #45)

I have two Motion activated Dimmer switches (no neutral) from Cync. These were working fine prior to upgrading. After upgrading, they no longer connect, but they are connected to the WiFi and bluetooth on my phone. See below the slightly uninformative error message:

2023-02-13 14:58:50.321 ERROR (MainThread) [homeassistant.components.light] Error while setting up cync_lights platform for light Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/cync_lights/light.py", line 23, in async_setup_entry if not hub.cync_rooms[room]._update_callback and (room in config_entry.options["rooms"] or room in config_entry.options["subgroups"]): KeyError: 'subgroups' 2023-02-13 14:58:50.504 ERROR (Thread-2 (_start_tcp_client)) [custom_components.cync_lights.cync_hub] ShuttingDown:

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnikshriv%2Fcync_lights%2Fissues%2F45&data=05%7C01%7C%7Cf2f0570c71254fa9ed9408db0dfd9b23%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638119155102697758%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GeClBWgiLI8y3ZMIlzim%2B%2B3p3hT0c1oXfCOjxfqGT08%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEAUPHNNBVWL64WLGKL24ADWXKHXDANCNFSM6AAAAAAU2WJEPE&data=05%7C01%7C%7Cf2f0570c71254fa9ed9408db0dfd9b23%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638119155102697758%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PRKOckCZawh%2BHFa1OyDPj%2B83ldyvgA%2BozLOPYyr9SEk%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

nikshriv avatar Feb 13 '23 20:02 nikshriv

If only I thought of that....thanks mate, worked perfectly! I see the removal of the motion sensors from the no-neutral config - thank you! Removes any confusion.

Great work on this integration, much appreciated!

Anon666333 avatar Feb 13 '23 22:02 Anon666333