mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 23:10:28 +00:00
* Add switch platform * Use lambda to get state * Use async with timeout * Add tests * Use correct type * Use Generic for coordinator * Use TCoordinatorData * Cleanup generic * Simplify coordinator data update methods * Use new entity naming style * Remove unnecessary code * Only the first word should be capitalised * Suggested change * improve typing in tests * Improve typing intests * Update tests/components/nextdns/__init__.py * black Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
18 lines
425 B
Python
18 lines
425 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_SETTINGS = "settings"
|
|
ATTR_STATUS = "status"
|
|
|
|
CONF_PROFILE_ID = "profile_id"
|
|
CONF_PROFILE_NAME = "profile_name"
|
|
|
|
UPDATE_INTERVAL_ANALYTICS = timedelta(minutes=10)
|
|
UPDATE_INTERVAL_SETTINGS = timedelta(minutes=1)
|
|
|
|
DOMAIN = "nextdns"
|