What's Changed
- Add new compact_departures and shortHeadsign attributes by @Mallonbacka in #129 - this is designed to work with NSPanel, but the attributes could have other uses, too.
compact_departures
is a new top-level attribute which combines the upcoming departures into a string, like19:42 P, :47 A, :52 P
.shortHeadsign
is included in each upcoming departure, and shortens the full text from the headsign to fit into a maximum of 15 characters if possible, so "Mattby (M) via Kilo" becomes "Mattby".
See this comment by Vitaly Repin for examples of how the new attributes can be used to create an NSPanel-ready sensor. Thanks for the help and starter code, @vitalyrepin
Full Changelog: v0.7.0...v0.8.0