G Johansson
3bf67f3ddd
Use config entry runtime data in Trafikverket Train ( #116556 )
2024-05-01 22:08:19 +02:00
Joost Lekkerkerker
39c617eee6
Remove entity description mixin in Trafikverket Train ( #112956 )
2024-03-10 18:15:18 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] ( #112705 )
2024-03-08 10:35:23 -05:00
Joost Lekkerkerker
6e99ca0d8a
Add icon translations to Trafikverket Train ( #112322 )
...
* Add icon translations to Trafikverket Train
* Add icon translations to Trafikverket Train
2024-03-05 12:58:19 +01:00
G Johansson
126a58a33e
Return multiple trains in Trafikverket Train ( #106206 )
...
* Add list of trains to coordinator
* Fix to work
* snapshot
* Fixes
* Fix
2023-12-22 15:18:16 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
G Johansson
4c03077dfe
Add product filtering feature to Trafikverket Train ( #86343 )
2023-08-09 17:20:30 +02:00
G Johansson
163bbe2c5d
Fix Trafikverket Train departure state ( #97917 )
...
Fix tvt departure state
2023-08-06 18:50:00 +02:00
G Johansson
74d1c30f7e
Trafikverket Train sensor and attributes to new sensors ( #71432 )
...
* Initial commit
* Finalize tvt sensors
* Translations
* Fix sensor translation
* migration
* migration fix 2
* Fix name
* Fix translation
* remove translation
* Fixes
* Fix isort and mypy
* translations
* logging
* Remove logging
* departure time
* Review comments
* Mod update entity unique id
* Fix uom
* not async
* UnitOfTime
* cleanup from rebase
* Remove call self
* cleanup extra attributes
* Fix rebase again
* string state
2023-08-06 18:08:07 +02:00
G Johansson
e4d9daf746
Migrate to SensorEntityDescriptions for Trafikverket Train ( #97318 )
...
* tvt migrate to sensor entity description
* spelling
* revert spelling
2023-08-05 22:53:14 +02:00
G Johansson
db76bf3a9f
Implement coordinator in Trafikverket Train ( #96916 )
...
* Implement coordinator TVT
* Review comments
* Review changes
2023-07-20 10:40:34 +02:00
Joost Lekkerkerker
81dd3a4a93
Use explicit device name in trafikverket train ( #96250 )
2023-07-10 14:00:27 +02:00
Ville Skyttä
1ce74ba25c
Import util.dt
as dt_util
in components/[t-z]*
( #93763 )
2023-05-29 23:00:43 +02:00
G Johansson
82b4368d1d
Bump pytrafikverket to 0.3.1 ( #92425 )
...
* Bump pytrafikverket 0.3.0
* 0.3.1
* mypy
* Fix exceptions
2023-05-05 21:19:16 +02:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
G Johansson
acf8bfb299
Migrate Trafikverket Train to new entity naming style ( #75208 )
2022-09-19 16:11:39 +02:00
G Johansson
a1b372e4ca
Minor fixes Trafikverket Train ( #72996 )
...
* Minor fixes Trafikverket Train
* Remove ConfigEntryAuthFailed
2022-06-04 12:37:39 +02:00
G Johansson
e5619f4af1
Remove yaml import trafikverket_train ( #71410 )
2022-05-06 14:27:12 +03:00
G Johansson
d2c9fa4075
Bump pytrafikverket to 0.2.0.1 ( #71131 )
...
* Bump pytrafikverket to 0.2.0.1
* Use system timezone
* Minor review changes
* current time
* Adjustments timezone
2022-05-05 20:55:52 +02:00
G Johansson
f5318ef6c2
Fix StationInfo not string in Trafikverket Train ( #70153 )
2022-04-16 17:08:54 +02:00
G Johansson
06435f633f
Implement config flow for trafikverket_train ( #65182 )
2022-03-29 08:32:38 -10:00
G Johansson
4a102d6b2a
Improve code quality trafikverket_train ( #62677 )
2022-01-19 20:57:05 +01:00
epenet
6f93ffb7ee
Add sensor setup type hints [t-v] ( #63309 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:20:39 +01:00
G Johansson
b6682b3089
Correct extra attributes trafikverket_train ( #62636 )
2021-12-23 11:35:01 +01:00
G Johansson
0e48a658f3
Fix timezone trafikverket_train ( #62582 )
...
* Bugfix trafikverket train
* Change from pytz to hass function
* Fix datetime in extra attributes
* Fix time timezone
* Reset changes extra attributes
2021-12-22 21:28:18 +01:00
Robert Hillis
db4721bfba
Use enums in trafikverket_train ( #62026 )
2021-12-16 13:07:10 +01:00
Marc Mueller
d5116810d4
Use assignment expressions 08 ( #57788 )
2021-10-17 20:02:42 +02:00
Erik Montnemery
94a264afaf
Move temperature conversions to entity base class (7/8) ( #54482 )
2021-08-11 18:57:50 +02:00
Franck Nijhof
258b388f41
Collection of changing entity properties to class attributes ( #51248 )
...
* Collection of changing entity properties to class attributes
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Erik Montnemery
783b453bbe
Migrate integrations t-v to extend SensorEntity ( #48216 )
2021-03-22 19:47:44 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() ( #47760 )
2021-03-11 20:16:26 +01:00
Bas Nijholt
de915e1bf0
Sort imports according to PEP8 for components starting with "T" ( #29778 )
2019-12-09 14:41:48 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
endor
98ba529ead
Add Trafikverket train component ( #23470 )
...
* Added Trafikverket train component
* Updated manifest with proper name and codeowner
* Updated requirements and manifest
* Updated CODEOWNERS
* Corrected requirements
* Added trafikverket_train/sensor.py to .coveragerc
* Added error handling and log if API call fails
* Corrected styles, removed dev log, improved validation
* Method calls to async_update(), improved error handling
* Minor cleanup/reorg for effeciency
* Added station cache and corrected to fit standards
* Simplified trainstop id and cleaned up dict.get
* Corrected mistake after change from dict to array
* Change device class to timestamp
2019-06-24 10:38:50 +02:00