cert_expiry integration fetches the certificate from a configured host and displays its expiration in both timestamp and days-to-expiry sensors.
There are 2 options in configuring the
- Via the Home Assistant user interface where it will let you enter a host and port for the certificate to check.
- Via the Home Assistant
# Example configuration.yaml entry sensor: - platform: cert_expiry host: home-assistant.io
The Certificate Expiry entities provide extra attributes to represent the state of the certificate.
||If the certificate is able to be validated:
||A human-readable error description if the certificate is considered invalid, “None” otherwise.|