-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't set color on cync bulbs #36
Comments
Were you able to get it working? |
Home Assistant 2023.1.4Supervisor 2022.12.1Operating System 9.4Frontend 20230110.0 - latest
No it doesn’t even initialize:
Logger: homeassistant.components.light
Source: custom_components/hubspace/hubspace.py:89
Integration: Light (documentation, issues)
First occurred: 21:43:33 (1 occurrences)
Last logged: 21:43:33
Error while setting up hubspace platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 289, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/hubspace/light.py", line 109, in setup_platform
hs = HubSpace(username,password)
File "/config/custom_components/hubspace/hubspace.py", line 28, in __init__
self._refresh_token = self.getRefreshCode()
File "/config/custom_components/hubspace/hubspace.py", line 89, in getRefreshCode
session_state = re.search('session_state=(.+?)&code', location).group(1)
File "/usr/local/lib/python3.10/re.py", line 200, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object
From: nikshriv ***@***.***>
Date: Saturday, January 14, 2023 at 8:02 PM
To: nikshriv/cync_lights ***@***.***>
Cc: Ted Serreyn ***@***.***>, State change ***@***.***>
Subject: Re: [nikshriv/cync_lights] can't set color on cync bulbs (Issue #36)
Were you able to get it working?
—
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADJPJXGDBFVNGDO33CLFMYDWSNLCDANCNFSM6AAAAAAT3KWW3Q>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Sorry thought this was the hubspaace. My light problem is tuya, not cync. The only Cycn I have is switches. It is working great.
From: nikshriv ***@***.***>
Date: Saturday, January 14, 2023 at 8:02 PM
To: nikshriv/cync_lights ***@***.***>
Cc: Ted Serreyn ***@***.***>, State change ***@***.***>
Subject: Re: [nikshriv/cync_lights] can't set color on cync bulbs (Issue #36)
Were you able to get it working?
—
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADJPJXGDBFVNGDO33CLFMYDWSNLCDANCNFSM6AAAAAAT3KWW3Q>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
congrats on getting this working! I finally have control over cync lights and switch that was critical for my automation.
However I cannot seem to set color of bulbs that support it?
The text was updated successfully, but these errors were encountered: