Add bahn.de sensor
This commit is contained in:
parent
0f4bb846d7
commit
4244d3813a
@ -19,4 +19,13 @@ cards:
|
||||
- type: glance
|
||||
title: Geräte
|
||||
entities:
|
||||
- device_tracker.mobile_fb
|
||||
- device_tracker.mobile_fb
|
||||
|
||||
- type: entities
|
||||
title: Nächste Bahn nach Münster
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- entity: sensor.salzbergen_to_munster_hbf
|
||||
name: Abfahrt
|
||||
- entity: sensor.salzbergen_to_munster_hbf_delay
|
||||
name: Verspätung
|
@ -8,3 +8,13 @@
|
||||
- 'beat'
|
||||
|
||||
- platform: dnsip
|
||||
|
||||
- platform: deutsche_bahn
|
||||
from: "Salzbergen"
|
||||
to: "Münster HBF"
|
||||
- platform: template
|
||||
sensors:
|
||||
salzbergen_to_munster_hbf_delay:
|
||||
value_template: '{{ states.sensor.salzbergen_to_munster_hbf.attributes.delay }}'
|
||||
salzbergen_to_munster_hbf_ontime:
|
||||
value_template: '{{ states.sensor.salzbergen_to_munster_hbf.attributes.ontime }}'
|
Loading…
Reference in New Issue
Block a user