Releases: mark1foley/ha-gtfs-rt-v2
Added custom headers support with new api_header_key value
20230701.06
Fixed #20 - vehicle update url was not optional
Fix for #15 provided by @corneels
Improvements by nocalla
Various improvement from @nocalla
- Simplified test.py by importing the Classes and Variables from sensor.py instead of duplicating them. This should save work in any future development as it'll only have to be done once.
- Generalised the logging functions to make the code a little cleaner with less repetition
- Generalised out the duplicated calls to the gtfs library
- Some tweaks to various typing or error handling
Fixed error when vehicle position URL is missing
20230107.03
Fixed error when vehicle position URL is missing
Added test.py script and support for direction_id
20230107.02
** Enhanced troubleshooting ** - added test.py script that is almost identical code but can be run in any python 3 environment. It uses an input yaml file that is in the same format as the configuration file used in Home Assistant, making it quick and easily many different GTFS-RT provider, route and stop configurations.
** Added directionid parameter **-Supports the direction_id from the GTFS feed trips.txt file, which indicates the direction of travel. Use when the stops are direction neutral.
Full Changelog: 20230107.01...20230701.02
Fixed typo
Fixed typos in header and readme
Added x_api_key Parameter
Added x_api_key as an optional configuration parameter
Minor Update to logging
Changed sensor update messages logging level from "info" to "debug" to reduce the amount of logging
Removed dependency on protbuf
Removed dependency on protbuf