Classes | |
| class | TVDataUpdateCoordinator |
Functions | |
| date | next_departuredate (list[str] departure) |
| date | next_weekday (date fromdate, int weekday) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| TIME_BETWEEN_UPDATES = timedelta(minutes=5) | |
DataUpdateCoordinator for the Trafikverket Ferry integration.
| date homeassistant.components.trafikverket_ferry.coordinator.next_departuredate | ( | list[str] | departure | ) |
Calculate the next departuredate from an array input of short days.
Definition at line 37 of file coordinator.py.
| date homeassistant.components.trafikverket_ferry.coordinator.next_weekday | ( | date | fromdate, |
| int | weekday | ||
| ) |
Return the date of the next time a specific weekday happen.
Definition at line 29 of file coordinator.py.
|
private |
Definition at line 25 of file coordinator.py.
| homeassistant.components.trafikverket_ferry.coordinator.TIME_BETWEEN_UPDATES = timedelta(minutes=5) |
Definition at line 26 of file coordinator.py.