mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
add only_direct option to sensor.deutsche_bahn (#4542)
* add only_direct option to sensor.deutsche_bahn goes along with https://github.com/home-assistant/home-assistant/pull/11999 * Update style
This commit is contained in:
parent
2788202f1e
commit
a3e449edb5
@ -25,11 +25,21 @@ sensor:
|
|||||||
from: NAME_OF_START_STATION
|
from: NAME_OF_START_STATION
|
||||||
to: NAME_OF_FINAL_STATION
|
to: NAME_OF_FINAL_STATION
|
||||||
```
|
```
|
||||||
|
{% configuration %}
|
||||||
Configuration variables:
|
from:
|
||||||
|
description: The name of the start station.
|
||||||
- **from** (*Required*): The name of the start station.
|
required: true
|
||||||
- **to** (*Required*): The name of the end/destination station.
|
type: string
|
||||||
|
to:
|
||||||
|
description: The name of the end/destination station.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
only_direct:
|
||||||
|
description: Only show direct connections.
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
This sensor stores a lot of attributes which can be accessed by other sensors eg. a [template sensor](/components/sensor.template/).
|
This sensor stores a lot of attributes which can be accessed by other sensors eg. a [template sensor](/components/sensor.template/).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user