Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for dnsip integration."""
2
3
from
homeassistant.const
import
Platform
4
5
DOMAIN =
"dnsip"
6
PLATFORMS = [Platform.SENSOR]
7
8
CONF_HOSTNAME =
"hostname"
9
CONF_RESOLVER =
"resolver"
10
CONF_RESOLVER_IPV6 =
"resolver_ipv6"
11
CONF_PORT_IPV6 =
"port_ipv6"
12
CONF_IPV4 =
"ipv4"
13
CONF_IPV6 =
"ipv6"
14
CONF_IPV6_V4 =
"ipv6_v4"
15
16
DEFAULT_HOSTNAME =
"myip.opendns.com"
17
DEFAULT_IPV6 =
False
18
DEFAULT_NAME =
"myip"
19
DEFAULT_RESOLVER =
"208.67.222.222"
20
DEFAULT_PORT = 53
21
DEFAULT_RESOLVER_IPV6 =
"2620:119:53::53"
homeassistant.const
Definition:
const.py:1
core
homeassistant
components
dnsip
const.py
Generated by
1.9.1