I give up. Tried 100 different ways.
Can I play Spotify … Yes!
Cover art, use the spotify card , nope.
Completely broken.
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/http/ban.py", line 82, in ban_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/config/config_entries.py", line 168, in get
return await super().get(request, flow_id)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/data_entry_flow.py", line 95, in get
result = await self._flow_mgr.async_configure(flow_id)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/data_entry_flow.py", line 277, in async_configure
result = await self._async_handle_step(
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/data_entry_flow.py", line 359, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py", line 303, in async_step_creation
token = await self.flow_impl.async_resolve_external_data(self.external_data)
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py", line 169, in async_resolve_external_data
return await self._token_request(
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/config_entry_oauth2_flow.py", line 205, in _token_request
resp.raise_for_status()
File "/srv/homeassistant/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://accounts.spotify.com/api/token')
Uninstalled a dozen time, reinstalled dozen times, rebooting in between even. Different URLs, Modifed/added different URLs in developer.
It is 100% broken for me.
Time to write my own I guess.
The whole “we assume you URL is this” is wrong and it causes issues in your installation config flow.