Add configuration flow to Whois (#20942)

This commit is contained in:
Franck Nijhof 2021-12-30 22:43:11 +01:00 committed by GitHub
parent 2d2d0b45cf
commit 13f953afd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,31 +6,14 @@ ha_category:
ha_release: 0.57
ha_iot_class: Cloud Polling
ha_domain: whois
ha_config_flow: true
ha_codeowners:
- "@frenck"
ha_platforms:
- sensor
---
The `whois` sensor platform allows you to perform daily WHOIS lookups against your owned domains. This provides you with information such as `expiration_date`, `name_servers` and `registrar` details.
The Whois integration allows you to perform daily WHOIS lookups against your owned domains. This provides you with information such as `expiration_date`, `name_servers` and `registrar` details.
## Configuration
To use this sensor in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: whois
domain: example.net
```
{% configuration %}
domain:
description: The domain you want to perform WHOIS lookups against.
required: true
type: string
name:
description: Name to use in the frontend.
required: false
default: Whois
type: string
{% endconfiguration %}
{% include integrations/config_flow.md %}