15 lines
314 B
Python
15 lines
314 B
Python
"""Define constants for the GeoNet NZ Quakes integration."""
|
|
from datetime import timedelta
|
|
|
|
DOMAIN = "geonetnz_quakes"
|
|
|
|
CONF_MINIMUM_MAGNITUDE = "minimum_magnitude"
|
|
CONF_MMI = "mmi"
|
|
|
|
FEED = "feed"
|
|
|
|
DEFAULT_MINIMUM_MAGNITUDE = 0.0
|
|
DEFAULT_MMI = 3
|
|
DEFAULT_RADIUS = 50.0
|
|
DEFAULT_SCAN_INTERVAL = timedelta(minutes=5)
|