Hi,
I had issues with my hue integration so I deleted it from the integrations dashboard (/config/integrations/dashboard) in hopes that re-adding it would help. Unfortunately, I’m now stuck without any hue integration.
When I select “Philips Hue” from the “Set up a new integration” modal, there is a spinner very briefly before it jumps back to the list of all available integrations that can be added.
Checking the logs it reads “Error handling request” - “components/hue/config_flow.py (ERROR)”
Full down at the bottom of the post.
Any guidance to help me get hue back would be greatly appreciated. Thanks in advance!
Log Details (ERROR)
Thu Oct 01 2020 21:57:38 GMT+0200 (CEST)
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 231, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 128, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 131, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 48, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 60, in post
handler, context={"source": config_entries.SOURCE_USER}
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 73, in async_init
return await self._async_handle_step(flow, flow.init_step, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 132, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/hue/config_flow.py", line 59, in async_step_user
return await self.async_step_init(user_input)
File "/usr/src/homeassistant/homeassistant/components/hue/config_flow.py", line 71, in async_step_init
bridges = await discover_nupnp(websession=websession)
File "/usr/local/lib/python3.7/site-packages/aiohue/discovery.py", line 10, in discover_nupnp
for item in (await res.json())]
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1027, in json
headers=self.headers)
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html'