The format is based on Keep a Changelog
This branch (Version 2.x) is not supported nor recomended anymore. Please use version 3.0.0 instead http://github.com/hasl-sensor/integration.
Version 3.0.0 is also available in HACS but you must manually install it.
- Changed attributes due to breaking change in Home Assistant 2012.12
- Possibly last release, please use HASLv3 instead http://github.com/hasl-sensor/integration. HASLv3 is also available in HACS.
2.2.7 (2021-06-08)
- Workaround fix for timezone error
2.2.6 (2021-05-18)
- Fixed version numbers discrepencies
2.2.5 (2021-05-10)
- Updated manifest.json
2.2.4 (2020-05-23)
- Documentation updates
2.2.3 (2020-03-04)
- Bugfixes
2.2.2 (2020-03-01)
- Release with right branch
2.2.1 (2020-03-01)
- PR #44 #49 Fixed bug where no departures were returned if no lines specified @Ziqqo @lindell
- PR #49 Minutes from expected time @lindell
- Updated HACS configuration
2.2.0 (2019-07-18)
- config entrys have been changed to a true string array and should now be specified according to
lines: ['123X','124']
- Fix #36 platform not found
- Fix #37 lines in 2.1.3
- Moved the cache file from config dir into the .storage folder
- Fixed documentation error (said TI2KEY instead of TL2KEY)
- Added services Platsupplslag and Reseplaneraren as services (preview, no docs yet)
2.1.3 (2019-07-15)
- Replaced custom updater with HACS
2.1.2 (2019-07-15)
- Replaced custom updater with HACS
- Minor changed in documentation
- Fixed bad custom_updater.json file
2.1.1 (2019-06-04)
2.1.0 (2019-05-21)
combsensor is nowdepartures, will removecombin 2.5.0. Please change your config.tl2sensor is nowstatus, will removetl2in 2.5.0. Please change your config.
- Fix #23 timewindow not working
- Fix #24 default scan_interval documentation bug
- Fix #25 stupid bug introduced by DSorlov =)
- PEP8 Compliance
- Branched all display cards to new project hasl-cards.
- Renamed repository from ha-sensor-sl to hasl-platform to conform to new naming.
- Updated massive amounts of links and documentation
- Many stability improvements and minor bugfixes
- Implemented basic error handling as exceptions are now raised from communications library.
- Implemented new sensor based on real-time train location api (EXPERIMENTAL!)
2.0.2 (2019-04-30)
- Fixed #19 Small changes for custom_updater
2.0.1 (2019-04-30)
- Fixed #18 missing indentation in sensor.py
2.0.0 (2019-04-30)
- Changed structure in configuration to be more standarlized, avoid key duplication etc
- Cannot be used pre 0.92 as dependency code has moved (or atleast I have not tried it)
- New install location for the autoupdater (changed from folder sl to hasl)
- Rename of sl-card.js to hasl-comb-card.js
- Changed naming of a few functions to make it more clean
- Fixed issue #16: sync_interval not working
- Fixed issue #11: wrong time shown, thanks to [@isabellaalstrom] for suggesting fix
- Language is now picked from config first, then from browser, and then default sv-SE
- Icon changed to mdi:bus if no deviances, otherwise mdi:bus-alert
- Recomended install directory is now 'hasl' instead of 'sl' to align naming
- Fixed the autoupdater URLS (dev branch will be off but who cares, dev should not be used in prod)
- Using HASL 2.0.0 Communications Library with support for Trafikläget2 API from SL
- Implemented a request minimization strategy for API-calls / using caching (haslcache.json) when using multiple sensors for same stops
- Config 'property' in comb sensor to set which property that is reported as default state
- Config 'always_show_time' in hasl-comb-card.js to force also showing time when less than 60 minutes to departure when 'timeleft' is set
- Added init.py and manifest.json to support 0.92+ version of home assistant, thanks to [@dimmanramone]
- Added property deviation_count to comb sensor to show number of deviations in total
- New sensor type TL2 for displaying trafic status messages for the Trafikläget2 API
- Service for force clearing of cache (adds services.json, mostly for troubleshooting)
1.0.3 (2019-04-16)
- Missing default value for direction parameter
- Integrated magic to better show time left to departure from fork lokanx-home-assistant
- Added support for languages (sv-SE and en-EN) in sl-card.js
1.0.2 (2019-04-16)
- Fix for naming of unique_id for certain cases (still not good however)
- sl-card.js enhanced and styled by @dimmanramone! Huge thanks!!
1.0.1 (2019-04-15)
- Fixed documtentation about interval being changed to scan_interval this to better support the Home Assistant standard.
- Fixed direction parameter that had been hardcoded for some strage reason. Blaming it on someone else. =)
1.0.0 (2019-04-12)
- Added configuration for TimeWindow
- Added friendly_name (and removed name)
- Updated sl-card.js to support time or minutes departures
- Exposed unique_id for each sensor
- Added multiple properties to the sensor output
- Moved communication to external PyPi library (HASL)
- Changed default repo from dev to hasl
- Cleaned up the code
- Using constant keywords from HomeAssistant
- If update error occures now deliver '-' as value instead of -1
- name configuration (replaced by friendly_name)
0.0.8 (2019-04-11)
- Moved /sensor/sl.py to /sl/sensor.py
- Fixed bad formatting of custom_updater files
- Fixed custom_updater instructions in readme
- Fixed broken encoding issues for rendering in sl-card.js
0.0.7 (2018-12-13)
- Rendering of deviances
- Parameters to customize card
- Rendering strategy
0.0.6 (2018-11-16)
- Added output of icons
- Buggfixes in lookup
- Changed rendering in lovelace card
0.0.5 (2018-11-16)
- Dependency for new https://www.trafiklab.se/api/sl-storningsinformation-2
- Lovelace card
- Logging strings changed to indicate which api failed
- User Agent String conforms to standard
- Now renders the next hour of departures
- JavaScript output
0.0.4 (2018-09-30)
- Use a binary_sensor to enable/disable API-calls
- Log error code and message once in case of error at API call
- Support for custom_updater
- Log error message instead of just reporting failure.
0.0.3 (2018-09-30)
- Only log errors once
0.0.2 (2018-09-29)
- Log error code.
0.0.1 (2018-05-08)
- Log error code.