hass-core/homeassistant/components/nmap_tracker/const.py
J. Nick Koston ebb8ad308e
Fix nmap_tracker typing (#54858)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-21 21:25:28 +02:00

15 lines
443 B
Python

"""The Nmap Tracker integration."""
from typing import Final
DOMAIN: Final = "nmap_tracker"
PLATFORMS: Final = ["device_tracker"]
NMAP_TRACKED_DEVICES: Final = "nmap_tracked_devices"
# Interval in minutes to exclude devices from a scan while they are home
CONF_HOME_INTERVAL: Final = "home_interval"
CONF_OPTIONS: Final = "scan_options"
DEFAULT_OPTIONS: Final = "-F -T4 --min-rate 10 --host-timeout 5s"
TRACKER_SCAN_INTERVAL: Final = 120