Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source/_components/rejseplanen.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down