core/homeassistant/components/dnsip/const.py

18 lines
416 B
Python
Raw Normal View History

2022-01-20 20:45:58 +00:00
"""Constants for dnsip integration."""
from homeassistant.const import Platform
DOMAIN = "dnsip"
PLATFORMS = [Platform.SENSOR]
CONF_HOSTNAME = "hostname"
CONF_RESOLVER = "resolver"
CONF_RESOLVER_IPV6 = "resolver_ipv6"
CONF_IPV4 = "ipv4"
CONF_IPV6 = "ipv6"
DEFAULT_HOSTNAME = "myip.opendns.com"
DEFAULT_IPV6 = False
DEFAULT_NAME = "myip"
DEFAULT_RESOLVER = "208.67.222.222"
DEFAULT_RESOLVER_IPV6 = "2620:0:ccc::2"