Update Certificate Expiry sensor (#6715)

This commit is contained in:
Emeric 2018-10-12 14:40:26 +02:00 committed by Alok Saboo
parent 2c5632db5d
commit 2a64d02fc9

View File

@ -26,13 +26,23 @@ sensor:
host: home-assistant.io
```
Configuration variables:
- **host** (*Required*): The host FQDN (or IP) to retrieve certificate from.
- **port** (*Optional*): The port number where the server is running. Defaults to `443`.
- **name** (*Optional*): The friendly name for the certificate.
{% configuration %}
host:
description: The host FQDN (or IP) to retrieve certificate from.
required: true
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'>
Make sure that the URL exactly matches your endpoint or resource.
</p>