From 13f953afd5d9c7bcc6c8d2523c44ed10836e3306 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 30 Dec 2021 22:43:11 +0100 Subject: [PATCH] Add configuration flow to Whois (#20942) --- source/_integrations/whois.markdown | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/source/_integrations/whois.markdown b/source/_integrations/whois.markdown index 2dcb68dd6d1..e2c092a7818 100644 --- a/source/_integrations/whois.markdown +++ b/source/_integrations/whois.markdown @@ -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 %}