Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup

SLOW_SETUP_MAX_WAIT, loop=hass.loop)


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for

return fut.result()


 "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result

raise self._exception


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/light/mochad.py", line 41, in setup_platform

hass, mochad.CONTROLLER.ctrl, dev) for dev in devs])


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/light/mochad.py", line 41, in <listcomp>

hass, mochad.CONTROLLER.ctrl, dev) for dev in devs])


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/light/mochad.py", line 60, in __init__

self._state = self._get_device_status()


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/light/mochad.py", line 71, in _get_device_status

status = self.device.get_status().rstrip()


 "/srv/homeassistant/lib/python3.6/site-packages/pymochad/device.py", line 55, in get_status

return self.controller.read_data().lower()


 "/srv/homeassistant/lib/python3.6/site-packages/pymochad/controller.py", line 83, in read_data

data = self.socket.recv(4096)
ConnectionRefusedError: [Errno 111] Connection refused


Comment: An exception occurred in this state: Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn

(self._dns_host, self.port), self.timeout, **extra_kw)


 "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection

raise err


 "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection

sock.connect(sa)

ConnectionRefusedError: [Errno 111] Connection refused


