Skip to content
This repository was archived by the owner on Feb 26, 2022. It is now read-only.

Latest commit

 

History

History
279 lines (204 loc) · 10.2 KB

File metadata and controls

279 lines (204 loc) · 10.2 KB

Changelog for HomeAssistant SL Sensor (HASL) (v2.x).

The format is based on Keep a Changelog

[2.2.8] (2021-01-03)

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.

[2.2.8] (2021-12-28)

Fixed

  • Changed attributes due to breaking change in Home Assistant 2012.12

Changed

2.2.7 (2021-06-08)

Changed

  • Workaround fix for timezone error

2.2.6 (2021-05-18)

Changed

  • Fixed version numbers discrepencies

2.2.5 (2021-05-10)

Changed

  • Updated manifest.json

2.2.4 (2020-05-23)

Changed

  • Documentation updates

2.2.3 (2020-03-04)

Changed

  • Bugfixes

2.2.2 (2020-03-01)

Changed

  • Release with right branch

2.2.1 (2020-03-01)

Changed

  • 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)

BREAKING CHANGES

  • config entrys have been changed to a true string array and should now be specified according to lines: ['123X','124']

Changed

  • 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

  • Added services Platsupplslag and Reseplaneraren as services (preview, no docs yet)

2.1.3 (2019-07-15)

Changed

  • Replaced custom updater with HACS

2.1.2 (2019-07-15)

Changed

  • Replaced custom updater with HACS
  • Minor changed in documentation
  • Fixed bad custom_updater.json file

2.1.1 (2019-06-04)

Changed

  • Fix #32 error management fails
  • Fix #27 implemented filtering on "lines" for departure sensors

2.1.0 (2019-05-21)

BREAKING CHANGES

  • comb sensor is now departures, will remove comb in 2.5.0. Please change your config.
  • tl2 sensor is now status, will remove tl2 in 2.5.0. Please change your config.

Changed

  • 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

Added

  • 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)

Changed

  • Fixed #19 Small changes for custom_updater

2.0.1 (2019-04-30)

Changed

  • Fixed #18 missing indentation in sensor.py

2.0.0 (2019-04-30)

BREAKING CHANGES

  • 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

  • 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

Added

  • 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)

Changed

  • 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)

Changed

  • 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)

Changed

  • 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

  • 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

Changed

  • 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

Removed

  • name configuration (replaced by friendly_name)

0.0.8 (2019-04-11)

Changed

  • 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)

Added

  • Rendering of deviances
  • Parameters to customize card

Changed

  • Rendering strategy

0.0.6 (2018-11-16)

Added

  • Added output of icons

Changed

  • Buggfixes in lookup
  • Changed rendering in lovelace card

0.0.5 (2018-11-16)

Added

Changed

  • Logging strings changed to indicate which api failed
  • User Agent String conforms to standard
  • Now renders the next hour of departures

Removed

  • JavaScript output

0.0.4 (2018-09-30)

Added

  • 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

Changed

  • Log error message instead of just reporting failure.

0.0.3 (2018-09-30)

Changed

  • Only log errors once

0.0.2 (2018-09-29)

Changed

  • Log error code.

0.0.1 (2018-05-08)

Changed

  • Log error code.