mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add configuration flow to Whois (#20942)
This commit is contained in:
parent
2d2d0b45cf
commit
13f953afd5
@ -6,31 +6,14 @@ ha_category:
|
|||||||
ha_release: 0.57
|
ha_release: 0.57
|
||||||
ha_iot_class: Cloud Polling
|
ha_iot_class: Cloud Polling
|
||||||
ha_domain: whois
|
ha_domain: whois
|
||||||
|
ha_config_flow: true
|
||||||
|
ha_codeowners:
|
||||||
|
- "@frenck"
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
- sensor
|
- 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:
|
{% include integrations/config_flow.md %}
|
||||||
|
|
||||||
```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 %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user