Traceback (most recent call last):


 "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step

result = next(coro)


 "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/device_tracker/owntracks.py", line 80, in async_handle_mqtt_message

yield from async_handle_message(hass, context, message)


 "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/device_tracker/owntracks.py", line 413, in async_handle_message

yield from handler(hass, context, message)
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/mnt/dietpi_userdata/medusa/medusa/search/queue.py", line 295, in run

found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)


 "/mnt/dietpi_userdata/medusa/medusa/search/core.py", line 503, in search_for_needed_episodes

episodes.extend(wanted_episodes(cur_show, from_date))


 "/mnt/dietpi_userdata/medusa/medusa/search/core.py", line 472, in wanted_episodes

ep_obj = series_obj.get_episode(episode['season'], episode['episode'])


 "/mnt/dietpi_userdata/medusa/medusa/tv/series.py", line 944, in get_episode

ep = Episode(self, season, episode)


 "/mnt/dietpi_userdata/medusa/medusa/tv/episode.py", line 271, in __init__

self._specify_episode(self.season, self.episode)


 "/mnt/dietpi_userdata/medusa/medusa/tv/episode.py", line 642, in _specify_episode

sql_results = self.load_from_db(season, episode)


 "/mnt/dietpi_userdata/medusa/medusa/tv/episode.py", line 722, in load_from_db

self.status = int(sql_results[0]['status'] or UNSET)


 "/mnt/dietpi_userdata/medusa/medusa/tv/base.py", line 63, in __setattr__

super(TV, self).__setattr__(key, value)


 "/mnt/dietpi_userdata/medusa/medusa/tv/episode.py", line 428, in status

self._sync_trakt(value)


 "/mnt/dietpi_userdata/medusa/medusa/tv/episode.py", line 450, in _sync_trakt

notifiers.trakt_notifier.update_watchlist_episode(self)


 "/mnt/dietpi_userdata/medusa/medusa/notifiers/trakt.py", line 120, in update_watchlist_episode

result = sync.add_to_watchlist({'shows': [create_episode_structure(episodes)]})
TypeError: create_episode_structure() missing 1 required positional argument: 'episodes'
