2017-11-17 21:03:10 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform mi_acpartner
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py", line 170, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.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 "/home/pi/.homeassistant/custom_components/climate/mi_acpartner.py", line 134, in setup_platform
token, sensor_entity_id, sync, customize),
File "/home/pi/.homeassistant/custom_components/climate/mi_acpartner.py", line 207, in __init__
self._state = self.climate_get_state()
File "/home/pi/.homeassistant/custom_components/climate/mi_acpartner.py", line 473, in climate_get_state
getstate = self.climate.send("get_model_and_state", [])
File "/home/pi/.homeassistant/custom_components/climate/mi_acpartner.py", line 289, in climate
self._climate = miio.device(self.host, self.token)
TypeError: 'module' object is not callable