1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +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
2018-03-30 21:33:30 +02:00
2018-08-20 17:39:53 +02:00
2018-07-20 11:45:20 +03:00
2018-05-14 09:13:59 +02:00
2018-07-17 19:34:29 +02:00