cert_expiry sensor fetches information from a configured URL and displays the certificate expiry in days.
There are 2 options in configuring the
- Via the Home Assistant user interface where it will let you enter a name, host and port for the certificate to check.
- Via the Home Assistant configuration.yaml file.
# Example configuration.yaml entry sensor: - platform: cert_expiry host: home-assistant.io
Make sure that the URL exactly matches your endpoint or resource.