mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 02:16:50 +00:00
Update Certificate Expiry sensor (#6715)
This commit is contained in:
parent
2c5632db5d
commit
2a64d02fc9
@ -13,7 +13,7 @@ ha_release: 0.44
|
|||||||
ha_iot_class: "depends"
|
ha_iot_class: "depends"
|
||||||
---
|
---
|
||||||
|
|
||||||
The `cert_expiry` sensor fetches information from a configured URL and displays the certificate expiry in days.
|
The `cert_expiry` sensor fetches information from a configured URL and displays the certificate expiry in days.
|
||||||
|
|
||||||
## {% linkable_title Configuration %}
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
@ -26,13 +26,23 @@ sensor:
|
|||||||
host: home-assistant.io
|
host: home-assistant.io
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
host:
|
||||||
- **host** (*Required*): The host FQDN (or IP) to retrieve certificate from.
|
description: The host FQDN (or IP) to retrieve certificate from.
|
||||||
- **port** (*Optional*): The port number where the server is running. Defaults to `443`.
|
required: true
|
||||||
- **name** (*Optional*): The friendly name for the certificate.
|
type: string
|
||||||
|
port:
|
||||||
|
description: The port number where the server is running.
|
||||||
|
required: false
|
||||||
|
default: 443
|
||||||
|
type: integer
|
||||||
|
name:
|
||||||
|
description: The friendly name for the certificate.
|
||||||
|
required: false
|
||||||
|
default: SSL Certificate Expiry
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
<p class='note warning'>
|
<p 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.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user