Commit Graph

25 Commits (bfc82b030f1cc31ede2ca18a989c2d3f8961c565)

Author SHA1 Message Date
G Johansson f5318ef6c2
Fix StationInfo not string in Trafikverket Train () 2022-04-16 17:08:54 +02:00
epenet e362871499
Prettify json (strings.json) () 2022-03-30 10:35:30 +02:00
G Johansson 06435f633f
Implement config flow for trafikverket_train () 2022-03-29 08:32:38 -10:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
G Johansson 4a102d6b2a
Improve code quality trafikverket_train () 2022-01-19 20:57:05 +01:00
G Johansson d53e5dfc2d
Add gjohansson-ST as codeowner to trafikverket_train () 2022-01-13 22:21:59 +01:00
epenet 6f93ffb7ee
Add sensor setup type hints [t-v] ()
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 () 2021-12-23 11:35:01 +01:00
G Johansson 0e48a658f3
Fix timezone trafikverket_train ()
* 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 () 2021-12-16 13:07:10 +01:00
Marc Mueller d5116810d4
Use assignment expressions 08 () 2021-10-17 20:02:42 +02:00
Erik Montnemery 94a264afaf
Move temperature conversions to entity base class (7/8) () 2021-08-11 18:57:50 +02:00
Franck Nijhof 258b388f41
Collection of changing entity properties to class attributes ()
* 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
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Erik Montnemery 783b453bbe
Migrate integrations t-v to extend SensorEntity () 2021-03-22 19:47:44 +01:00
Erik Montnemery 1fc8e32d86
Update integrations t-z to override extra_state_attributes() () 2021-03-11 20:16:26 +01:00
endor bf643b63ad
Add wind max speed to trafikverket_weatherstation ()
* Add wind max speed to trafikverket_weatherstation

* Update CODEOWNERS
2020-08-17 15:39:00 -04:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
endor 9ab6d08b97
Bump pytrafikverket to 0.1.6.1 ()
* Bumped version for pytrafikverket

* Updated version for pytrafikverket

* Updated version for pytrafikverket
2020-01-30 21:46:20 +01:00
Franck Nijhof b4d6d238e5 Correct names in manifests (T-Z) () 2020-01-07 14:31:18 +01:00
Franck Nijhof a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00
Bas Nijholt de915e1bf0 Sort imports according to PEP8 for components starting with "T" () 2019-12-09 14:41:48 +01:00
Franck Nijhof c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
endor 98ba529ead Add Trafikverket train component ()
* 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