I think I found something, but I have no idea how to fix it.
Module SMA should be set ast default to SSL: false
Even I set this in config as FALSE, then in log I can see that SMA module tries to connect via SSL anyhow…
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/sma/sensor.py”, line 128, in async_sma
values = await sma.read(used_sensors)
File “/usr/local/lib/python3.7/site-packages/pysma/init.py”, line 240, in read
yield from self.new_session()
File “/usr/local/lib/python3.7/site-packages/pysma/init.py”, line 211, in new_session
body = yield from self._fetch_json(URL_LOGIN, self._new_session_data)
File “/usr/local/lib/python3.7/site-packages/pysma/init.py”, line 201, in _fetch_json
self._url + url, **params)
File “/usr/local/lib/python3.7/site-packages/aiohttp/client.py”, line 476, in _request
timeout=real_timeout
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 522, in connect
proto = await self._create_connection(req, traces, timeout)
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 854, in _create_connection
req, traces, timeout)
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 992, in _create_direct_connection
raise last_exc
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 974, in _create_direct_connection
req=req, client_error=client_error)
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 927, in _wrap_create_connection
req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host 192.168.1.250:443 ssl:True [SSLCertVerificationError: (1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’)]