SSL certificate expiration sensor

Hi! To warmup with my fresh new AD instance, i made the sensor showing the days left until my SSL cert expired. I use Letsencrypt’s cert to publish HASS outside, and this quick wirkaround together with smple automation reminds me to update the certificate before it’s expired. Please feel free to use it. It uses internal method from native ssl lib, so no external libs required (but it probably won’t be able to work with cert formats other than PEM)

SSL Expiration Sensor