2021-12-01 13:40:38 +00:00
|
|
|
"""Constants for the Tailscale integration."""
|
2024-03-08 15:35:23 +00:00
|
|
|
|
2021-12-01 13:40:38 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from datetime import timedelta
|
|
|
|
import logging
|
|
|
|
from typing import Final
|
|
|
|
|
|
|
|
DOMAIN: Final = "tailscale"
|
|
|
|
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
SCAN_INTERVAL = timedelta(minutes=1)
|
|
|
|
|
|
|
|
CONF_TAILNET: Final = "tailnet"
|