Commit graph

9 commits

Author SHA1 Message Date
Michael
0916701a0b
Catch ssl errors in rest ()
* catch ssl.SSLError

* add test

* fail setup on ssl error

* adjust tests
2023-04-12 06:51:41 +02:00
Michael
72d3fa6d89
Replace the usage of unit constants by enumerations in Tests [o-r] () 2023-01-15 14:50:24 +01:00
epenet
1baa5c12c0
Fix rest schema () 2022-11-11 10:08:26 -06:00
epenet
c585817e67
Adjust REST schema validation ()
fixes undefined
2022-11-08 11:18:58 +01:00
epenet
a0ed91e30c
Add type hints to rest tests () 2022-10-31 15:30:29 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 () 2021-11-01 20:47:05 -07:00
Ville Skyttä
5626cc4524
Use http.HTTPStatus in components/r* () 2021-10-23 20:53:39 +02:00
J. Nick Koston
dd56cc8010
Fix rest sensor data misalignment with multiple sensors ()
If there were multiple rest data sources, the index needed
to be incremented by type instead of by data source/type
2021-03-17 22:47:42 +01:00
J. Nick Koston
2f3c2f5f4d
Add support for using a single endpoint for rest data () 2021-02-19 21:44:15 -08:00