Traceback (most recent call last):

 "/usr/bin/qtile", line 72, in <module>
main()

 "/usr/bin/qtile", line 58, in main
c = confreader.
(options.configfile)

 "/usr/lib/python2.7/site-packages/libqtile/confreader.py", line 58, in __init__
raise ConfigError(str(v))libqtile.confreader.ConfigError: global name 'Bar' is not defined
Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/setup.py", line 191, in _async_setup_component

result = await task


 "/config/custom_components/sonoff/__init__.py", line 74, in async_setup

await hass.data[DOMAIN].do_login()


 "/config/custom_components/sonoff/__init__.py", line 317, in do_login

await self.set_wshost()


 "/config/custom_components/sonoff/__init__.py", line 326, in set_wshost

async with session.post('https://%s-disp.coolkit.cc:8080/dispatch/app' % self._api_region, headers=self._headers) as r:


 "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 1012, in __aenter__

self._resp = await self._coro


 "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 480, in _request

conn = await self._connector.connect(


 "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 523, in connect

proto = await self._create_connection(req, traces, timeout)


 "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 858, in _create_connection

_, proto = await self._create_direct_connection(


 "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection

raise last_exc


 "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 980, in _create_direct_connection

transp, proto = await self._wrap_create_connection(


 "/usr/local/lib/python3.8/site-packages/aiohttp/connector.py", line 938, in _wrap_create_connection

raise ClientConnectorCertificateError(
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host cn-disp.coolkit.cc:8080 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)')]
