From 0fda8611377c4826ea1c063a1035869e089010a9 Mon Sep 17 00:00:00 2001 From: Cyrill Raccaud Date: Mon, 29 Jan 2024 12:48:06 +0100 Subject: [PATCH] explain custom polling for sensor (#31100) * explain custom polling for sensor * swiss_public_transport.markdown aktualisieren Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/swiss_public_transport.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_integrations/swiss_public_transport.markdown b/source/_integrations/swiss_public_transport.markdown index 1c5b525aa10..34e51932911 100644 --- a/source/_integrations/swiss_public_transport.markdown +++ b/source/_integrations/swiss_public_transport.markdown @@ -17,7 +17,7 @@ ha_integration_type: integration The Swiss public transport integration will give you the next three departure times from a given location to another one in Switzerland. -The [Swiss public transport API](https://transport.opendata.ch/) only allows 1000 requests per 24 hours. +The [Swiss public transport API](https://transport.opendata.ch/) only allows 1000 requests per 24 hours. The default polling rate is set to `90s`, which is just enough for one connection polling continuously. If more entries are needed, consider [defining a custom polling interval](#defining-a-custom-polling-interval) to reduce the amount of requests. The [Stationboard](https://transport.opendata.ch/examples/stationboard.html) website can help to determine the exact name of the start and the end station. @@ -40,3 +40,7 @@ name: {% endconfiguration %} The public timetables are coming from [Swiss public transport](https://transport.opendata.ch/). + +### Defining a custom polling interval + +{% include common-tasks/define_custom_polling.md %}