Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@Mallonbacka Mallonbacka released this 28 Apr 17:12
· 17 commits to main since this release
508f53a

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, like 19: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