nikshriv / cync_lights

Home Assistant Integration for controlling Cync switches, plugs, and bulbs
178 stars 63 forks source link

Fix async issue #95

Closed nschimme closed 5 months ago

nschimme commented 6 months ago

Resolves https://github.com/nikshriv/cync_lights/issues/94

nschimme commented 6 months ago

@nikshriv please merge

Lioncat6 commented 6 months ago

The author hasn't touched their github account since March 2023 🥲

web250 commented 6 months ago

Fix worked for me after editing all 4 files and resetting lights to off in Google Home. Note that HA is saying in the next .3 version that multiple calls from this integration will be deprecated

eczuckerman commented 6 months ago

Can somebody walk me through how to fix this? It is driving me nuts.

web250 commented 6 months ago

Can somebody walk me through how to fix this? It is driving me nuts.

Check this link: https://github.com/nikshriv/cync_lights/pull/95/commits/0652efd204513285796ac08bad3d9de7f2c67207 You need to make edits (using Terminal in HA) using your text editor of choice (I used vi, nano works too) Edit 4 files, and change the red to the green. The numbers on the left are the line numbers in the code.