I’m having issue setting up the UPS component on hass.io. I see there is a upsmychoice_cookies.pickle file created in my config directory and I’ve confirmed the creds are valid. Anyone have a suggestion to troubleshoot the issue?
2017-08-21 14:32:25 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/upsmychoice/__init__.py", line 90, in wrapped
return function(*args)
File "/usr/lib/python3.6/site-packages/upsmychoice/__init__.py", line 105, in get_packages
raise UPSError('failed to find token or tid')
upsmychoice.UPSError: failed to find token or tid
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/tasks.py", line 181, in _step
result = coro.throw(exc)
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 212, in async_add_entity
yield from self.hass.async_add_job(entity.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
result = method(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/ups.py", line 83, in _update
for package in upsmychoice.get_packages(self._session):
File "/usr/lib/python3.6/site-packages/upsmychoice/__init__.py", line 93, in wrapped
return function(*args)
File "/usr/lib/python3.6/site-packages/upsmychoice/__init__.py", line 105, in get_packages
raise UPSError('failed to find token or tid')
upsmychoice.UPSError: failed to find token or tid