Skip to content

Major new release - custom card, new sensor, bugfixes

Latest

Choose a tag to compare

@andystewart999 andystewart999 released this 20 Jun 14:57
87b50af

There's a lot going on in this release!

Sensors

  • Added the option of including an 'occupancy detail' sensor, showing per-carriage occupancy information for the journey (assuming that info is being returned by the API of course)
image image image

Custom card

  • This release includes a custom Lovelace card that shows detailed vehicle occupancy in the same style as the Transport NSW rail displays. It supports the 'add by entity' and 'add by card' previews, and uses the generic config editor:
image

Tweaks

  • Added an entry-wide option requesting a location update at each poll if the origin is a device tracker, for example a mobile phone running the Companion App (#35)
  • Various code improvements and optimisations, simplifying how sensor state, icons and attributes are configured and retrieved
  • Integration startup speed has been significantly improved (via pytransportnswv2)
  • API usage is significantly reduced via caching of the GTFS-R URLs and data (via pytransportnswv2)

Bugfixes

  • Fixed an issue when adding a new journey - the origin stop ID would be added into the destination stop ID list if any of the stops were considered invalid by the stop-checking process (#39)
  • If a journey title has been changed from the default (e.g. Gordon Station to Hornsby Station) it was being overwritten if the journey was reconfigured (#34)

Full Changelog: 2.4.0b1...3.0.0