Ok, so new problem, I saw it mentioned earlier in the thread but di dnot see any resolution. The Plex sensor fails to set up with the error:
2019-01-03 20:59:30 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform plex_recently_added
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
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/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/sensor/plex_recently_added.py”, line 47, in setup_platform
add_devices([PlexRecentlyAddedSensor(hass, config)], True)
File “/config/custom_components/sensor/plex_recently_added.py”, line 67, in init
self.server_name, self.token)
TypeError: ‘NoneType’ object is not iterable
does it have to be that path? all my files are in custom_ui so that path is accurate
mayker
(maykar (pronounced "maker" with a southern accent))
343
I imagine any path would be fine as long as that path is correct (you mentioned 2 different folder names in your posts “custom_ui” and “custom-ui”). That URL just looked like it might have been a mistake.
Nice work on this! Started work on a custom component for Kodi to pull in recently added episodes and movies to the Kodi library. TV shows worked well, just need to clean it up and also add a sensor for movies before putting it up somewhere on github.
I can’t seem to load radarr data into home-assistant (dev-state). Not sure what to do from here… reinstalled radarr on another machine so that port number was the same, it says online but no data, keep getting this error:
downloaded new python code for radarr, not sure what else to try
Edit: i put the sensor back in the config.yaml file and rebooted, now it says it can’t seem to find it, even though i have the tab open, i installed radarr on ubuntu (opened the port) and can even ping it