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>
This commit is contained in:
Cyrill Raccaud 2024-01-29 12:48:06 +01:00 committed by GitHub
parent 6446b695d0
commit 0fda861137
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 %}