From ace8cf45612d97030e5e9a35b359628fbf14dcfd Mon Sep 17 00:00:00 2001 From: Cyrill Raccaud Date: Fri, 22 Dec 2023 06:27:04 +0100 Subject: [PATCH] swiss_public_transport add config flow setup (#30340) * add config flow setup * remove deprecated settings and add config flow --- source/_integrations/swiss_public_transport.markdown | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/source/_integrations/swiss_public_transport.markdown b/source/_integrations/swiss_public_transport.markdown index cc72f095087..e336347dad1 100644 --- a/source/_integrations/swiss_public_transport.markdown +++ b/source/_integrations/swiss_public_transport.markdown @@ -5,8 +5,10 @@ ha_category: - Transport ha_iot_class: Cloud Polling ha_release: pre 0.7 +ha_config_flow: true ha_codeowners: - '@fabaff' + - '@miaucl' ha_domain: swiss_public_transport ha_platforms: - sensor @@ -19,15 +21,7 @@ The [Swiss public transport API](https://transport.opendata.ch/) only allows 100 The [Stationboard](https://transport.opendata.ch/examples/stationboard.html) website can help to determine the exact name of the start and the end station. -Then add the data to your `configuration.yaml` file as shown in the example: - -```yaml -# Example configuration.yaml entry -sensor: - - platform: swiss_public_transport - from: STATION_ID - to: STATION_ID -``` +{% include integrations/config_flow.md %} {% configuration %} from: