Skip to content

Commit

Permalink
fix arrival config
Browse files Browse the repository at this point in the history
  • Loading branch information
miaucl committed Oct 22, 2024
1 parent 12f60d2 commit a563c2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/swiss_public_transport/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

from .const import (
CONF_DESTINATION,
CONF_IS_ARRIVAL,
CONF_START,
CONF_TIME,
CONF_TIME_OFFSET,
Expand Down Expand Up @@ -76,6 +77,7 @@ async def async_setup_entry(
session,
via=config.get(CONF_VIA),
time=config.get(CONF_TIME),
isArrivalTime=config.get(CONF_IS_ARRIVAL, False),
)
if time_offset:
offset_opendata(opendata, time_offset)
Expand Down

0 comments on commit a563c2c

Please sign in to comment.