hass-core/homeassistant/components/nextdns/const.py
Maciej Bieniek 84119eefaa
Add NextDNS integration (#74150)
* Initial commit

* Update manifest

* Add first test

* Simplify init

* More tests

* Update tests

* More tests

* More tests

* Add tests for sensor platform

* More tests for sensor platform

* Add tests for system_health

* Fix typo

* Improve test coverage

* Improve test coverage

* Add tests for diagnostics

* Add comment

* Run hassfest

* Fix typo

* Run gen_requirements_all

* Fix tests

* Change key name in diagnostics

* Remove diagnostics and system_health platforms

* Bump library
2022-07-03 09:51:50 -07:00

15 lines
350 B
Python

"""Constants for NextDNS integration."""
from datetime import timedelta
ATTR_DNSSEC = "dnssec"
ATTR_ENCRYPTION = "encryption"
ATTR_IP_VERSIONS = "ip_versions"
ATTR_PROTOCOLS = "protocols"
ATTR_STATUS = "status"
CONF_PROFILE_ID = "profile_id"
CONF_PROFILE_NAME = "profile_name"
UPDATE_INTERVAL_ANALYTICS = timedelta(minutes=10)
DOMAIN = "nextdns"