HA: 0.104.1 (on Debian Buster)
Add this integration. Got the sensor with the days. But after a reboot I see a error. Remove the integration and add it again it is working again. But every time I reboot the error comes back
2020-01-17 10:50:27 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.ssl_certificate_expiry fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/cert_expiry/sensor.py", line 122, in update
cert = get_cert(self.server_name, self.server_port)
File "/usr/src/homeassistant/homeassistant/components/cert_expiry/helper.py", line 12, in get_cert
with socket.create_connection(address, timeout=TIMEOUT) as sock:
File "/usr/local/lib/python3.7/socket.py", line 728, in create_connection
raise err
File "/usr/local/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused