@Vinz87 wrote:
I just setup the Spotify integration following the documentation.
When I try to play a playlist through the documentation’s example with the play_media service and the playlist URI I get the following error:Jan 27 00:46:23 raspberrypi hass[28278]: 2020-01-27 00:46:23 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2866991632] unsupported operand type(s) for &: 'NoneType' and 'int' Jan 27 00:46:23 raspberrypi hass[28278]: Traceback (most recent call last): Jan 27 00:46:23 raspberrypi hass[28278]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service Jan 27 00:46:23 raspberrypi hass[28278]: connection.context(msg), Jan 27 00:46:23 raspberrypi hass[28278]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1236, in async_call Jan 27 00:46:23 raspberrypi hass[28278]: await asyncio.shield(self._execute_service(handler, service_call)) Jan 27 00:46:23 raspberrypi hass[28278]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1261, in _execute_service Jan 27 00:46:23 raspberrypi hass[28278]: await handler.func(service_call) Jan 27 00:46:23 raspberrypi hass[28278]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 213, in handle_service Jan 27 00:46:23 raspberrypi hass[28278]: self._platforms.values(), func, call, service_name, required_features Jan 27 00:46:23 raspberrypi hass[28278]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 348, in entity_service_call Jan 27 00:46:23 raspberrypi hass[28278]: future.result() # pop exception if have Jan 27 00:46:23 raspberrypi hass[28278]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 363, in _handle_service_platform_call Jan 27 00:46:23 raspberrypi hass[28278]: entity.supported_features & feature_set for feature_set in required_features Jan 27 00:46:23 raspberrypi hass[28278]: File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 363, in <genexpr> Jan 27 00:46:23 raspberrypi hass[28278]: entity.supported_features & feature_set for feature_set in required_features Jan 27 00:46:23 raspberrypi hass[28278]: TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
Posts: 2
Participants: 2