After upgrading to 0.61.0 the GUI doesn’t load anymore.
Logs say:
2018-01-15 16:18:18 ERROR (MainThread) [homeassistant.loader] Unable to find component broadlink
2018-01-15 16:18:18 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/srv/homeassi/lib/python3.5/site-packages/homeassistant/components/websocket_api.py", line 473, in get_services_helper
descriptions = yield from async_get_all_descriptions(self.hass)
File "/srv/homeassi/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 153, in async_get_all_descriptions
yaml_file = domain_yaml_file(domain)
File "/srv/homeassi/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 137, in domain_yaml_file
component_path = path.dirname(get_component(domain).__file__)
AttributeError: 'NoneType' object has no attribute '__file__'
After commenting all Broadlink configuration out, HA is back again.
EDIT:
Ahh, sorry, there’s already an open issue on github.
I tried to downgrade, but now it won’t start. Looks like Plex is broken in the same way ? And because of the underlaying component upgrade, I can’t revert ?
2018-01-16 10:55:41 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 135, in <lambda>
track_utc_time_change(hass, lambda now: update_devices(), second=30)
File "/usr/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
result = method(*args, **kwargs)
File "/usr/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
result = method(*args, **kwargs)
File "/usr/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 172, in update_devices
update_sessions, plexserver)
File "/usr/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 279, in __init__
self.refresh(device, session)
File "/usr/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/plex.py", line 342, in refresh
if self._device.machineIdentifier is not None and \
AttributeError: 'NoneType' object has no attribute 'machineIdentifier'
Plex works without this option :
include_non_clients: true
Anyway, I never managed to have Plex component read the status of a session without a client attached (eg Android client)
Plex component too ? I think it’s somehow unrelated.
I have applied the bugfix to a custom broadlink.py switch component, it works. (2 lines to change)
I also had to upgrade to the latest custom-ui (20180117), it was broken too.