mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +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_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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user