Hei,
Nå har jeg satt opp alt over, men har samme feil.
De nye sensorene lastes.
Men det virker som om det nye entur-kortet ikke lastes i det hele tatt.
Tror jeg har funnet noe om problemet i loggen, det er noe som failer ved oppstart, men jeg skjønner ikke hva loggen sier?
http://192.168.86.139:8123/local/entur-card.js?v=7.5:7:1 Uncaught SyntaxError: Unexpected token '<'
8:35 AM components/system_log/__init__.py (ERROR)
http://hassio.local:8123/local/button-card.js:1:39 Uncaught TypeError: Cannot convert undefined or null to object
8:34 AM components/system_log/__init__.py (ERROR) - message first occured at 8:33 AM and shows up 2 times
http://hassio.local:8123/local/entur-card.js?v=7.5:7:1 Uncaught SyntaxError: Unexpected token '<'
8:34 AM components/system_log/__init__.py (ERROR) - message first occured at 8:33 AM and shows up 2 times
Her er oppsettet nå:
- url: /local/entur-card.js?v=7.5
type: js
- type: custom:entur-card
name: Rutetider
show_clock: true
show_next: true
show_human: true
show_extra_departures: true
entities:
- entity: sensor.transport_solbergliveien_platform_11013
name: Solbergliveien - mot Helsfyr
icon: mdi:bus
#destination: Halstein Gård
- entity: sensor.transport_solbergliveien_platform_11014
name: Solbergliveien - fra Helsfyr
- type: custom:entur-card
name: Rutetider
show_clock: true
show_next: true
show_human: true
show_extra_departures: true
entities:
- entity: sensor.transport_studentersamfundet
name: Studentersamfundet
destination: Halstein Gård
- entity: sensor.transport_trondheim_s_platform_4
name: Trondheim Sentralbanestasjon
- entity: sensor.transport_trondheim_lufthavn
name: Trondheim lufthavn
og sensorene:
- platform: entur_public_transport
name: Transport
expand_platforms: true
show_on_map: true
stop_ids:
- 'NSR:StopPlace:6002' # Solbergliveien
- platform: entur_public_transport
name: Transport1
expand_platforms: true
show_on_map: true
number_of_departures: 4
stop_ids:
- 'NSR:StopPlace:42377' # Halstein Gård
- 'NSR:StopPlace:42660' # Studentersamfundet
- 'NSR:StopPlace:737' # Trondheim Lufthavn
- 'NSR:StopPlace:59977' # Trondheim S
- 'NSR:Quay:110499'
- platform: entur_public_transport
name: Transport2
expand_platforms: true
show_on_map: true
stop_ids:
- 'NSR:StopPlace:6002'