mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 05:06:13 +01:00
Co-authored-by: Norbert Rittel <norbert@rittel.de> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
50 lines
859 B
Python
50 lines
859 B
Python
"""Constants for the London underground integration."""
|
|
|
|
from datetime import timedelta
|
|
|
|
DOMAIN = "london_underground"
|
|
|
|
CONF_LINE = "line"
|
|
|
|
SCAN_INTERVAL = timedelta(seconds=30)
|
|
|
|
TUBE_LINES = [
|
|
"Bakerloo",
|
|
"Central",
|
|
"Circle",
|
|
"District",
|
|
"DLR",
|
|
"Elizabeth line",
|
|
"Hammersmith & City",
|
|
"Jubilee",
|
|
"London Overground", # no longer supported
|
|
"Metropolitan",
|
|
"Northern",
|
|
"Piccadilly",
|
|
"Victoria",
|
|
"Waterloo & City",
|
|
"Liberty",
|
|
"Lioness",
|
|
"Mildmay",
|
|
"Suffragette",
|
|
"Weaver",
|
|
"Windrush",
|
|
]
|
|
|
|
# Default lines to monitor if none selected
|
|
DEFAULT_LINES = [
|
|
"Bakerloo",
|
|
"Central",
|
|
"Circle",
|
|
"District",
|
|
"DLR",
|
|
"Elizabeth line",
|
|
"Hammersmith & City",
|
|
"Jubilee",
|
|
"Metropolitan",
|
|
"Northern",
|
|
"Piccadilly",
|
|
"Victoria",
|
|
"Waterloo & City",
|
|
]
|