mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-01 07:46:49 +00:00
Name property (breaking change) (#6356)
Adressing [comment](https://github.com/home-assistant/home-assistant/pull/16205#issuecomment-423811182) to reflect actual behaviour.
This commit is contained in:
parent
0c4570e8dc
commit
0b40180011
@ -34,6 +34,7 @@ sensor:
|
|||||||
Configuration variables:
|
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)
|
- **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)
|
- **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.
|
- **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)
|
- **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
|
# Resolve IP address of home-assistant.io via Google DNS
|
||||||
- platform: dnsip
|
- platform: dnsip
|
||||||
hostname: home-assistant.io
|
hostname: home-assistant.io
|
||||||
|
name: hass
|
||||||
resolver: 8.8.8.8
|
resolver: 8.8.8.8
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user