Ambilight television not connecting with bridge
Closed this issue · 1 comments
chrisism commented
Description
When connecting the tv to the emulated hue bridge, it finds the bridge directly. But after ending the connection it breaks right away and the connection is lost. On the server side (docker) it throws a python exception as provided below.
Expected behavior
To finish ambilight connection succesfull.
Reproduction steps
Run emulated hue. Start TV and go to settings, philips + hue and connect to the bridge.
Relevant log output
2024-08-23 12:16:18,862 DEBUG emulated_hue.api -- [192.*.*.*] GET /api/cA6dEBe1F78a8cfc5dB47C28ac2***********
2024-08-23 12:16:18,868 ERROR aiohttp.server -- Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/app/emulated_hue/api.py", line 92, in wrapped_func
return await func(cls, request)
File "/app/emulated_hue/api.py", line 498, in get_full_state
"lights": await self.__async_get_all_lights(),
File "/app/emulated_hue/api.py", line 960, in __async_get_all_lights
result[light_id] = await self.__async_entity_to_hue(
File "/app/emulated_hue/api.py", line 837, in __async_entity_to_hue
const.HUE_ATTR_HUE: entity_attr.get(
TypeError: 'NoneType' object is not subscriptable
Operating system
Other Linux
Install method
Docker Compose
Version
latest
Dev Version
No response
Any other information that may be helpful
No response
github-actions commented
This issue has been marked as stale due to no activity and will be closed in 7 days.