1 """Define constants for the GeoJSON events integration."""
3 from __future__
import annotations
5 from datetime
import timedelta
6 from typing
import Final
10 DOMAIN: Final =
"geo_json_events"
12 PLATFORMS: Final = [Platform.GEO_LOCATION]
14 ATTR_EXTERNAL_ID: Final =
"external_id"
15 DEFAULT_RADIUS_IN_KM: Final = 20.0
16 DEFAULT_RADIUS_IN_M: Final = 20000.0
17 DEFAULT_UPDATE_INTERVAL: Final =
timedelta(seconds=300)
18 SOURCE: Final =
"geo_json_events"
20 SIGNAL_DELETE_ENTITY: Final =
"geo_json_events_delete_{}"
21 SIGNAL_UPDATE_ENTITY: Final =
"geo_json_events_update_{}"