From 32a05749ba1d5c3cc94ca9ae44474c4477d30428 Mon Sep 17 00:00:00 2001 From: Jason Lawrence Date: Tue, 25 Feb 2020 10:08:36 -0600 Subject: [PATCH] Update cert_expiry for #32066 --- source/_integrations/cert_expiry.markdown | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/source/_integrations/cert_expiry.markdown b/source/_integrations/cert_expiry.markdown index 2d3d82f851b9..c610f5e4e754 100644 --- a/source/_integrations/cert_expiry.markdown +++ b/source/_integrations/cert_expiry.markdown @@ -14,7 +14,7 @@ The `cert_expiry` sensor fetches information from a configured URL and displays There are 2 options in configuring the `cert_expiry` sensor: -- 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 user interface where it will let you enter a host and port for the certificate to check. - Via the Home Assistant configuration.yaml file. @@ -35,13 +35,17 @@ port: required: false default: 443 type: integer -name: - description: The friendly name for the certificate. - required: false - default: SSL Certificate Expiry - type: string {% endconfiguration %} +## Attributes + +The Certificate Expiry entities provide extra attributes to represent the state of the certificate. + +| Name | Description | +| ---- | ----------- | +| `is_valid` | If the certificate is able to be validated: `True` / `False`. +| `error` | A human-readable error description if the certificate is considered invalid, "None" otherwise. +
Make sure that the URL exactly matches your endpoint or resource.