mirror of
https://github.com/home-assistant/core.git
synced 2026-09-08 22:51:33 +01:00
20 lines
410 B
Python
20 lines
410 B
Python
"""Constants for the ScorpionTrack integration."""
|
|
|
|
from datetime import timedelta
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "scorpiontrack"
|
|
DEFAULT_NAME = "ScorpionTrack"
|
|
MANUFACTURER = "ScorpionTrack"
|
|
|
|
CONF_SHARE_TOKEN = "share_token"
|
|
|
|
DEFAULT_SCAN_INTERVAL = timedelta(minutes=2)
|
|
|
|
PLATFORMS: tuple[Platform, ...] = (
|
|
Platform.BINARY_SENSOR,
|
|
Platform.DEVICE_TRACKER,
|
|
Platform.SENSOR,
|
|
)
|