1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-24 15:57:09 +00:00

23 Commits

Author SHA1 Message Date
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z () 2023-12-13 17:05:37 +01:00
Ian
e652d37f29
Use data update coordinator in NextBus to reduce api calls () 2023-10-02 10:56:10 +02:00
Ian
c3f74ae022
Add config-flow to NextBus () 2023-09-19 17:10:29 +02:00
Ian
4b4660994c
Use shorthand attributes in NextBus ()
* NextBus: Use attr with unique id

* Feedback

* Remove unique id
2023-06-06 07:08:42 +02:00
Ian
0fcf8f968b
Move nextbus constants and utils ()
* NextBus: Move general components to const and util

* Remove not yet used code
2023-05-11 17:28:29 +01:00
Marc Mueller
63d519c1a8
Spelling updates () 2022-11-28 16:51:43 +01:00
epenet
420733a064
Improve entity type hints [n] () 2022-09-05 07:53:55 -05:00
epenet
80b6195505
Add sensor setup type hints [m-n] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:09:36 +01:00
Ian
a6cfbd4072
Nextbus upcoming sort as integer () 2021-12-17 09:39:55 +01:00
epenet
81ea811b74
Use new enums in nextbus () 2021-12-16 22:44:17 +01:00
Paulus Schoutsen
ea42384afd
Fix nextbus timestamp sensor () 2021-12-07 22:23:14 -08:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) () 2021-08-12 13:26:17 +02:00
Franck Nijhof
fcdd8b11a6
Collection of changing entity properties to class attributes - 2 () 2021-06-01 12:43:55 -07:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity () 2021-03-22 19:46:46 +01:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() () 2021-03-11 20:11:25 +01:00
Franck Nijhof
187b6525b4
Removal of extraneous parenthesis () 2020-04-04 20:08:55 +02:00
Ian
4f1f4a1b4f Nextbus: Sort results for upcoming times ()
Sort upcoming times across all direction's for a particular route and
stop.
2019-12-10 09:22:13 +01:00
springstan
20fdcbadff Move imports to top for nextbus ()
* Move imports to top for nextbus

* Fix test_sensor.py failed tests
2019-12-05 21:56:42 +01:00
Grodesh
f8712b4d7f Update nextbus stop tag to accept strings () 2019-11-06 07:24:11 +01:00
Franck Nijhof
1c5e0123c9 Use literal string interpolation in integrations N-Q (f-strings) () 2019-09-03 11:35:00 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
nierob
979f801488 Avoid creating temporary lists ()
That gives nano performance improvements as *() is slightly faster
then *[].
2019-07-19 13:36:18 -07:00
Ian
c2e7445271 Add new nextbus sensor ()
* Added new nextbus sensor

* Fix order in requirements_all after merge

* Add more flexible parsing of JSON lists

* Undo tox change
2019-04-26 19:51:58 -05:00