Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/apcupsd/__init__.py", line 48, in setup

DATA.update(no_throttle=True)


 "/usr/local/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 224, in wrapper

result = method(*args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/apcupsd/__init__.py", line 84, in update

self._status = self._get_status()


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/apcupsd/__init__.py", line 79, in _get_status

return self._parse(self._get(host=self._host, port=self._port))


 "/usr/local/lib/python3.7/site-packages/apcaccess/status.py", line 37, in get

sock.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused

Traceback (most recent call last):


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

conn = connection.create_connection(


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

raise err


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

sock.connect(sa)


 "/usr/lib/python3/dist-packages/gevent/_socket3.py", line 407, in connect

raise error(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused
