From 1db44da98e53d98007231a448d44b1e131acffec Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 10 May 2018 19:15:14 +0200 Subject: [PATCH] Minimize configuration sample --- source/_components/sensor.whois.markdown | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/_components/sensor.whois.markdown b/source/_components/sensor.whois.markdown index 7a6937ce33f..87e2e674cbc 100644 --- a/source/_components/sensor.whois.markdown +++ b/source/_components/sensor.whois.markdown @@ -14,14 +14,17 @@ ha_iot_class: "Cloud Polling" --- -`whois` sensor 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` 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. + +## {% linkable_title 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 - name: primary ``` {% configuration %}