2017-10-22 08:15:52 ERROR (MainThread) [homeassistant.setup] Error during setup of component tesla
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/setup.py", line 194, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/tesla.py", line 59, in setup
email, password, update_interval),
File "/root/.homeassistant/deps/lib/python3.5/site-packages/teslajsonpy/controller.py", line 26, in init
self.update(car['id'])
File "/root/.homeassistant/deps/lib/python3.5/site-packages/teslajsonpy/controller.py", line 56, in update
with self.__lock():
TypeError: 'RLock' object is not callable
In the UI, the result of this is:
Invalid Config
The following components and platforms could not be set up:
tesla
Please check your config
Home Assistant release (
hass --version
): 0.56.0Python release (
python3 --version
): Python 3.5.3Component/platform: Tesla
Description of problem:
2017-10-22 08:15:52 ERROR (MainThread) [homeassistant.setup] Error during setup of component tesla Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/homeassistant/setup.py", line 194, in _async_setup_component component.setup, hass, processed_config) File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/tesla.py", line 59, in setup email, password, update_interval), File "/root/.homeassistant/deps/lib/python3.5/site-packages/teslajsonpy/controller.py", line 26, in init self.update(car['id']) File "/root/.homeassistant/deps/lib/python3.5/site-packages/teslajsonpy/controller.py", line 56, in update with self.__lock(): TypeError: 'RLock' object is not callable
In the UI, the result of this is: Invalid Config The following components and platforms could not be set up: tesla Please check your config