From 0b4018001151a11a1461eefb347efbbce5e17a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20GR=C3=89A?= Date: Wed, 26 Sep 2018 00:01:52 +0200 Subject: [PATCH] Name property (breaking change) (#6356) Adressing [comment](https://github.com/home-assistant/home-assistant/pull/16205#issuecomment-423811182) to reflect actual behaviour. --- source/_components/sensor.dnsip.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/sensor.dnsip.markdown b/source/_components/sensor.dnsip.markdown index 0850e3696d3..02d32f52682 100644 --- a/source/_components/sensor.dnsip.markdown +++ b/source/_components/sensor.dnsip.markdown @@ -34,6 +34,7 @@ sensor: Configuration variables: - **hostname** (*Optional*): The hostname for which to perform the DNS query. Default: `myip.opendns.com` (special hostname that resolves to your public IP) +- **name** (*Optional*): Name of the sensor. Default `myip` or hostname without dots if specified. - **resolver** (*Optional*): The DNS server to target the query at. Default: `208.67.222.222` (OpenDNS) - **ipv6** (*Optional*): Set this to `true` or `false` if IPv6 should be used. When resolving the public IP, this will be the IP of the machine where Home Assistant is running on. - **resolver_ipv6** (*Optional*): The IPv6 DNS server to target the query at. Default: `2620:0:ccc::2` (OpenDNS) @@ -49,5 +50,6 @@ sensor: # Resolve IP address of home-assistant.io via Google DNS - platform: dnsip hostname: home-assistant.io + name: hass resolver: 8.8.8.8 ```