Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the israel rail integration."""
2 
3 from datetime import timedelta
4 from typing import Final
5 
6 DOMAIN = "israel_rail"
7 
8 CONF_START: Final = "from"
9 CONF_DESTINATION: Final = "to"
10 
11 DEFAULT_NAME = "Next Destination"
12 
13 DEPARTURES_COUNT = 3
14 
15 DEFAULT_SCAN_INTERVAL = timedelta(seconds=90)
16 
17 ATTRIBUTION = "Data provided by Israel rail."