Commit Graph

8 Commits (7a40ae13a4012b6518d80bcc8d7650db988354ed)

Author SHA1 Message Date
Paulus Schoutsen 17cf53677c
Rest fixes (#61296) 2021-12-08 14:35:50 -08:00
J. Nick Koston aca2c3a27a
Restore rest integration ability to follow http redirects (#61293) 2021-12-08 22:03:07 +01:00
Paulus Schoutsen 3223332c1e
Use correct template parameter in Rest template rendering (#61269) 2021-12-08 12:19:22 -08:00
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