Jan Bouwhuis
a4f52cc622
Use a constant to reference `homeassistant` domain ( #113889 )
...
* Use CONF_CORE to reference `homeassistant` domain
* Just use DOMAIN
* USE DOMAIN for `homeasistant` domain in config_schema.py
* Use DOMAIN_HA as constant for homeassistant domain
* Rename CONF_CORE to DOMAIN_HA
* Rename DOMAIN_HA to HA_DOMAIN
* Use relative import
* Use direct imports
2024-03-23 19:58:39 +01:00
Marc Mueller
438d3b01b9
Use builtin TimeoutError [o-s] ( #109682 )
2024-02-05 12:14:37 +01:00
Michael
0916701a0b
Catch ssl errors in rest ( #91074 )
...
* 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] ( #85936 )
2023-01-15 14:50:24 +01:00
epenet
1baa5c12c0
Fix rest schema ( #81857 )
2022-11-11 10:08:26 -06:00
epenet
c585817e67
Adjust REST schema validation ( #81723 )
...
fixes undefined
2022-11-08 11:18:58 +01:00
epenet
a0ed91e30c
Add type hints to rest tests ( #81304 )
2022-10-31 15:30:29 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Ville Skyttä
5626cc4524
Use http.HTTPStatus in components/r* ( #58288 )
2021-10-23 20:53:39 +02:00
J. Nick Koston
dd56cc8010
Fix rest sensor data misalignment with multiple sensors ( #48043 )
...
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 ( #46711 )
2021-02-19 21:44:15 -08:00