Anyone using västtrafik component?

Hey @EdwardTFN,

Tried your setup and works great. Getting an error on the timedate template though, you get the same?
Not comfortable with code so don’t really know how to interpret it…

Template variable error: ‘dict object’ has no attribute ‘DepartureBoard’ when rendering ‘{{ (value_json.DepartureBoard.serverdate + ’ ’ + value_json.DepartureBoard.servertime) | as_timestamp | timestamp_local }}’

Any chance of getting an update of the REST config? Västtrafik seems to have changed API in their end and I can’t seem to get the config correct with the new urls :confused:

They changed the api quite a lot and I haven’t found time to fix it. Let’s see if I can work on this this weekend. I will let you know.

1 Like

Hi! Any news on the progress? Anything I can do? (not a python coder, but php) :slight_smile: