mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
parent
d85b66b086
commit
3aa2a03084
@ -18,7 +18,7 @@ The `cert_expiry` sensor fetches information from a configured URL and displays
|
|||||||
|
|
||||||
There are 2 options in configuring the `cert_expiry` sensor:
|
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.
|
- Via the Home Assistant `configuration.yaml` file.
|
||||||
|
|
||||||
|
|
||||||
@ -39,13 +39,17 @@ port:
|
|||||||
required: false
|
required: false
|
||||||
default: 443
|
default: 443
|
||||||
type: integer
|
type: integer
|
||||||
name:
|
|
||||||
description: The friendly name for the certificate.
|
|
||||||
required: false
|
|
||||||
default: SSL Certificate Expiry
|
|
||||||
type: string
|
|
||||||
{% endconfiguration %}
|
{% 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.
|
||||||
|
|
||||||
<div class='note warning'>
|
<div class='note warning'>
|
||||||
Make sure that the URL exactly matches your endpoint or resource.
|
Make sure that the URL exactly matches your endpoint or resource.
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user