Chris Browet
b1b782419b
Add REST sensor/binary_sensor/switch templated headers & params ( #54426 )
2021-10-29 16:36:47 -05:00
J. Nick Koston
30382c3dbe
Limit log spam from rest and include reason in platform retry ( #48666 )
...
- Each retry was logging the error again
- Now we set the cause of the PlatformNotReady to allow Home Assistant to log as needed
2021-04-04 20:26:18 -07:00
J. Nick Koston
dd0afc3b66
Create httpx helper to wrap a shared httpx.AsyncClient ( #43877 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-12-09 17:18:57 +01:00
Moritz Schmitz von Hülst
434d39a5ea
Add initial rest query params ( #42198 )
...
* add initial rest query params
* of course I didn't run black
* fix tests
* fix tests
* add test
* reformat
* add binary sensor test
* fix tests
* add one more test and fix switch
* should not have touched that
* if you don't pay attention once
2020-11-11 09:03:55 -10:00
J. Nick Koston
5580b21260
Decouple RestData from rest.sensor ( #41980 )
2020-10-17 04:56:45 +02:00