Commit Graph

29 Commits (49b90fc140e17a88477523db44ca4624c81b6d8f)

Author SHA1 Message Date
G Johansson a98bb96325
Add reconfigure flow to Trafikverket Train () 2025-01-19 21:33:15 +01:00
G Johansson 4709a3162c
Change Trafikverket Train to use station signatures ()
Co-authored-by: Robert Resch <robert@resch.dev>
2025-01-13 15:38:02 +01:00
G Johansson d4dbceba02
Bump pytrafikverket to 1.1.1 () 2024-11-22 16:58:58 +01:00
G Johansson 3c96c559dc
Remove config entry unique id from trafikverket_train () 2024-11-21 20:42:36 +01:00
Alberto Montes 5d2f8319b1
Update string formatting to use f-string on tests ()
* Update string formatting to use f-string on tests

* Update test_package.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update statement given feedback

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-09-19 10:32:38 +02:00
epenet 7652c35ee6
Use start_reauth helper method in integration tests (t) () 2024-08-28 16:47:10 +02:00
G Johansson e93d0dfdfc
Use setup method in coordinator for Trafikverket Train ()
* Use setup method in coordinator for Trafikverket Train

* Overwrite types
2024-08-11 14:15:20 +02:00
G Johansson ebe7a4747d
Bump pytrafikverket to 1.0.0 ()
* Update all related files and tests to new version

* Fix missed modal

* Bump requirements
2024-07-04 21:09:19 +02:00
epenet fbaba3753b
Fix root-import pylint warning in components ()
* Fix root-import pylint warning in components

* Adjust

* Adjust
2024-06-10 15:14:49 +02:00
epenet 20b5aa3e0e
Move entity_registry_enabled_by_default to decorator [q-z] () 2024-06-04 13:38:32 +02:00
Erik Montnemery 56f2f10a17
Fix flapping trafikverket tests ()
* Fix flapping trafikverket tests

* Fix copy-paste mistake
2024-04-26 13:49:43 +02:00
epenet 9204ccfa17
Use is in ConfigEntryState enum comparison in tests (N-Z) () 2024-04-05 17:37:00 +02:00
Joost Lekkerkerker ee66f6ec8c
Use is in enum comparison in config flow tests P-T () 2024-04-02 11:21:50 -10:00
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 ()
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Erik Montnemery 426f73b1f4
Add State.last_reported ()
* Add State.last_reported

* Update tests

* Update test snapshots

* Call state_reported listeners when firing state_changed event

* Add tests
2024-03-20 21:05:07 +01:00
Marc Mueller aa16a9d707
Add empty line after module docstring (3) () 2024-03-08 20:38:34 +01:00
Marc Mueller 87165c0d6e
Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
Joost Lekkerkerker 6e99ca0d8a
Add icon translations to Trafikverket Train ()
* Add icon translations to Trafikverket Train

* Add icon translations to Trafikverket Train
2024-03-05 12:58:19 +01:00
G Johansson d1d5c50b73
Add full test coverage to Trafikverket Train ()
* Add full test coverage for Trafikverket Train

* Coordinator full coverage

* Now full coverage

* Add util
2023-12-22 16:53:51 +01:00
G Johansson 126a58a33e
Return multiple trains in Trafikverket Train ()
* Add list of trains to coordinator

* Fix to work

* snapshot

* Fixes

* Fix
2023-12-22 15:18:16 +01:00
G Johansson 47cd368ed2
New api endpoint for Trafikverket Weather ()
* New api endpoint for Trafikverket Weather

* fix tests
2023-11-19 10:41:48 +01:00
G Johansson 4c03077dfe
Add product filtering feature to Trafikverket Train () 2023-08-09 17:20:30 +02:00
G Johansson c4da5374ae
Refactor Trafikverket Train to improve config flow ()
* Refactor tvt

* review fixes

* review comments
2023-08-07 17:25:02 +02:00
G Johansson 82b4368d1d
Bump pytrafikverket to 0.3.1 ()
* Bump pytrafikverket 0.3.0

* 0.3.1

* mypy

* Fix exceptions
2023-05-05 21:19:16 +02:00
Franck Nijhof ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 21:28:18 +02:00
G Johansson a1b372e4ca
Minor fixes Trafikverket Train ()
* Minor fixes Trafikverket Train

* Remove ConfigEntryAuthFailed
2022-06-04 12:37:39 +02:00
G Johansson e5619f4af1
Remove yaml import trafikverket_train () 2022-05-06 14:27:12 +03:00
G Johansson 06435f633f
Implement config flow for trafikverket_train () 2022-03-29 08:32:38 -10:00