Commit graph

11 commits

Author SHA1 Message Date
epenet
a70f9b8995
Add type hints to rest integration (#80546) 2022-10-19 14:35:23 +02:00
epenet
599d61a4da
Fix payload in rest (#80544) 2022-10-18 17:15:08 +02:00
Joakim Sørensen
3655958d26
Seperate timeout errors in rest requests (#78710) 2022-09-18 21:38:27 +02:00
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