jonkristian / entur-card

Home Assistant Lovelace card card for the Entur public transport component.
MIT License
57 stars 6 forks source link

Card not showing. "arrived" undefined #17

Closed petrepa closed 4 years ago

petrepa commented 4 years ago

What a beautiful card!

Sadly I am unable to get this working properly. Tried firstly using my own configuration, and after that i tried the example from the readme with the sensors from the entur docs page.

When checking the console in the browser it reports:

Uncaught (in promise) TypeError: Cannot read property 'arrived' of undefined
    at HTMLElement._translate (entur-card.js:188)
    at entur-card.js:151
    at Array.map (<anonymous>)
    at HTMLElement.render (entur-card.js:130)
    at HTMLElement.update (entur-card.js:1)
    at HTMLElement.performUpdate (entur-card.js:1)
    at HTMLElement._enqueueUpdate (entur-card.js:1)
jonkristian commented 4 years ago

Thank you!

Fixed :)