2018-03-16 10:32:11 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform plex
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 243, in result
raise self._exception
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/media_player/plex.py”, line 93, in setup_platform
hass, config, add_devices_callback
File “/usr/src/app/homeassistant/components/media_player/plex.py”, line 216, in setup_plexserver
update_sessions()
File “/usr/src/app/homeassistant/util/init.py”, line 319, in wrapper
result = method(*args, **kwargs)
File “/usr/src/app/homeassistant/util/init.py”, line 319, in wrapper
result = method(*args, **kwargs)
File “/usr/src/app/homeassistant/components/media_player/plex.py”, line 213, in update_sessions
for player in session.players:
TypeError: ‘_NA’ object is not iterable
Fri Mar 16 2018 10:10:49 GMT-0700 (PDT)
Update for media_player.plex_plex_e7f9665779ea0198_com_plexapp_android fails
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity.py”, line 204, in async_update_ha_state
yield from self.async_device_update()
File “/usr/src/app/homeassistant/helpers/entity.py”, line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 327, in iter
yield self # This tells Task to wait for completion.
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 250, in _wakeup
future.result()
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 243, in result
raise self._exception
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/media_player/plex.py”, line 522, in update
self.update_sessions(no_throttle=True)
File “/usr/src/app/homeassistant/util/init.py”, line 319, in wrapper
result = method(*args, **kwargs)
File “/usr/src/app/homeassistant/util/init.py”, line 319, in wrapper
result = method(*args, **kwargs)
File “/usr/src/app/homeassistant/components/media_player/plex.py”, line 213, in update_sessions
for player in session.players:
TypeError: ‘_NA’ object is not iterable