diff --git a/source/_components/rejseplanen.markdown b/source/_components/rejseplanen.markdown index 03bee9fefbc..c152d4e9884 100644 --- a/source/_components/rejseplanen.markdown +++ b/source/_components/rejseplanen.markdown @@ -53,6 +53,11 @@ stop_id: description: The ID of the public transport stop. required: true type: string +name: + description: "The name of the sensor. Entity ID for the sensor will be created based on this name. E.g., Glostrup St becomes `sensor.glostrup_st`. It's optional but recommended if you define more than one sensor." + required: false + type: string + default: "Next departure" route: description: List of route names. required: false @@ -105,6 +110,7 @@ A more extensive example on how to use this sensor: # Example configuration.yaml entry sensor: - platform: rejseplanen + name: 'Elmegade 350S' stop_id: '000045740' route: 'Bus 350S' direction: