Whois Sensor (#3744)

* Init whois sensor docs

* Fixed glaring typo (hostname => domain)
This commit is contained in:
Adam Cooper 2017-10-24 08:10:55 +01:00 committed by Fabian Affolter
parent 98396704a3
commit 55c2e26e60
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -0,0 +1,30 @@
---
layout: page
title: "Whois Sensor"
description: "Instructions on how to integrate WHOIS lookup sensor within Home Assistant."
date: 2017-10-22 00:00
sidebar: true
comments: false
sharing: true
footer: true
logo: home-assistant.png
ha_category: Sensor
ha_release: "0.57"
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.
```yaml
# Example configuration.yaml entry
sensor:
- platform: whois
domain: example.net
name: primary
```
Configuration variables:
- **domain** (*Required*): The domain you want to perform WHOIS lookups against.
- **name** (*Optional*): A friendly name to apply to this sensor.