Skip to content

Commit

Permalink
3.1.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
DSorlov committed Mar 25, 2022
1 parent 31995f2 commit 1d16676
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 7 deletions.
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,24 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.1.0] (2022-03-xx)
## [3.1.0b1] (2022-03-25)

Project will change name to `Swedish Public Transit Sensor (HASL)` because resrobot supports the whole country however for Stockholm region it is still recomended to use SL-specific apis since they contain alot of extra data.

### Breaking Changes
- Service find_location renamed to `sl_find_location`
- Service find_trip_id renamed to `sl_find_trip_id`
- Service find_trip_pos renamed to `sl_find_trip_pos`

### Added
- API Communication for Resrobot 2.1
- Departure sensor using Resrobot API
- Arrival sensor using Resrobot API
- Route sensor using Resrobot API
- Lookup service for resrobot locations

### Changed
- Updated translation for names ad descriptions and strings where applicable

## [3.0.6] (2022-03-25)

Expand Down Expand Up @@ -367,7 +383,7 @@ Forked from 2.2.3 but changes from later versions are implemented as needed.
- This is a great day indeed.

[keep-a-changelog]: http://keepachangelog.com/en/1.0.0/
[3.1.0]: https://github.com/hasl-sensor/integration/compare/3.0.6...3.1.0
[3.1.0b1]: https://github.com/hasl-sensor/integration/compare/3.0.6...3.1.0b1
[3.0.6]: https://github.com/hasl-sensor/integration/compare/3.0.5...3.0.6
[3.0.5]: https://github.com/hasl-sensor/integration/compare/3.0.4...3.0.5
[3.0.4]: https://github.com/hasl-sensor/integration/compare/3.0.3...3.0.4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![maintained](https://img.shields.io/maintenance/yes/2022.svg)
[![hacs_badge](https://img.shields.io/badge/hacs-default-green.svg)](https://github.com/custom-components/hacs)
[![ha_version](https://img.shields.io/badge/home%20assistant-2021.12%2B-green.svg)](https://www.home-assistant.io)
![version](https://img.shields.io/badge/version-3.1.0-green.svg)
![version](https://img.shields.io/badge/version-3.1.0b1-green.svg)
[![maintainer](https://img.shields.io/badge/maintainer-dsorlov-blue.svg)](https://github.com/DSorlov)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/hasl3/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
STATE_OFF
)

HASL_VERSION = "3.1.0"
HASL_VERSION = "3.1.0b1"
SCHEMA_VERSION = "3"
DOMAIN = "hasl3"
NAME = "Swedish Public Transport Sensor (HASL)"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hasl3/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": [],
"after_dependencies": [],
"config_flow": true,
"version": "3.1.0",
"version": "3.1.0b1",
"iot_class": "cloud_polling",
"quality_scale": "silver",
"requirements": [
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hasl3/rrapi/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '3.1.0'
__version__ = '3.1.0b1'

BASE_URL = 'https://api.resrobot.se/v2.1/'
STOP_LOOKUP_URL = '{}location.name?input={}&format=json&accessId={}'
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hasl3/slapi/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '3.1.0'
__version__ = '3.1.0b1'

FORDONSPOSITION_URL = 'https://api.sl.se/fordonspositioner/GetData?' \
'type={}&pp=false&cacheControl={}'
Expand Down

0 comments on commit 1d16676

Please sign in to comment.