1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-06 02:24:32 +00:00
Files
core/tests/components
Malte Franken d5813cf167 Make rest sensor and binary sensor more efficient (#14484)
* create binary sensor even if initial update fails

* fixed broken test assertion

* fixed broken test assertion

* avoid fetching resource twice - manually in the setup_platform and then through add_devices

* raising PlatformNotReady instead of creating the sensor if the initial rest call fails; throttling the update to avoid fetching the same resource again immediately after setting up sensor

* rolled back throttling of the rest update call; can still avoid updating the binary sensor's rest resoure twice; fixed tests

* typo
2018-09-21 15:54:50 +02:00
..
2018-08-13 11:27:18 +02:00
2018-08-20 17:39:53 +02:00
2018-08-19 22:29:08 +02:00
2018-08-24 16:37:30 +02:00
2018-08-19 22:29:08 +02:00
2018-08-24 10:39:35 +02:00
2018-09-12 20:17:52 +02:00
2018-08-19 22:29:08 +02:00
2018-09-14 11:57:31 +02:00
2018-09-19 21:21:43 +02:00
2018-08-19 22:29:08 +02:00
2018-09-18 15:06:52 +02:00
2016-03-09 10:25:50 +01:00
2018-01-27 11:58:27 -08:00
2017-09-24 15:48:45 -07:00
2018-03-30 21:33:30 +02:00
2018-08-20 17:39:53 +02:00
2017-10-27 10:15:47 +02:00
2018-07-20 11:45:20 +03:00
2018-02-17 10:29:14 +01:00
2017-03-30 00:50:53 -07:00
2018-05-14 09:13:59 +02:00
2018-07-17 19:34:29 +02:00
2018-01-05 16:34:03 -08:00