Files
core/tests/components
Raman GuptaandGitHub 92be8b4f8e Make tomorrowio API rate limit handling more robust (#70412)
* Use the max request limit when setting tomorrowio update interval

* tests

* reduce lines

* simplify

* refactor

* Make Coordinator.async_setup_entry more efficient at determining when to refresh data and schedule refresh

* clean up

* clean up

* Remove unnecessary type definition

* typo

* fix logic ot be more deterministic

* Another fix

* Comment

* Reduce wasted API calls by doing partial updates when new entries get added with a new key

* Simplify and use asyncio event so that config entries only load after initial coordinator refresh

* Remove commented out piece

* Comment

* Remove unnecessary variable

* More cleanup

* Make future merge easier

* remove dupe

* switch order

* add comment

* Remove unnecessary error handling

* make code easier to read

* review feedback for code

* Fix logic

* Update test based on review

* Tweak comments

* reset mock so asertions are more clear

* Remove update interval check
2022-05-29 18:29:21 +02:00
..
2022-04-26 09:59:31 +02:00
2022-04-25 07:41:01 -07:00
2022-04-20 08:56:05 +02:00
2022-04-26 16:32:00 +02:00
2022-04-26 23:09:10 -07:00
2022-05-16 21:04:59 -07:00
2022-04-26 16:32:00 +02:00
2022-05-14 06:16:22 -05:00
2022-04-25 10:58:39 +02:00
2022-05-25 20:39:15 +02:00
2022-05-02 15:50:13 +02:00
2022-03-03 15:12:33 -08:00
2022-04-26 16:32:00 +02:00
2022-05-19 13:06:56 +02:00
2022-03-30 12:15:04 +02:00
2022-03-30 16:15:34 +02:00
2022-03-30 11:26:08 +02:00
2022-04-18 16:27:14 +02:00
2022-03-07 18:58:29 +01:00
2022-04-26 16:32:00 +02:00
2022-05-28 13:26:50 -10:00
2022-02-19 20:27:06 +01:00
2022-04-26 16:32:00 +02:00
2022-03-12 12:36:08 +01:00
2022-04-25 21:25:24 -10:00
2022-05-24 09:53:01 +02:00
2022-05-24 16:30:41 +02:00
2022-05-08 16:52:39 -05:00