Paulus Schoutsen
0ca6723378
Allow passing binary to the WS connection ( #89882 )
...
* Allow passing binary to the WS connection
* Expand test coverage
* Test non-existing handler
* Allow signaling end of stream using empty payloads
* Store handlers in a list
* Handle binary handlers raising exceptions
2023-03-22 08:36:36 -04:00
J. Nick Koston
ecf87ae979
Improve performance of websocket_api dispatch ( #88496 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-02-20 19:51:34 +01:00
epenet
aa50096a31
Add type hints to integration tests (part 24) ( #88307 )
2023-02-17 16:34:53 +01:00
J. Nick Koston
0f4b17755e
Improve logging and handling when websocket gets behind ( #86854 )
...
fixes undefined
2023-01-29 10:49:27 -10:00
Paulus Schoutsen
a42547c0e5
Allow get_states to recover ( #67146 )
2022-02-23 21:15:48 -08:00
Paulus Schoutsen
6d0da631bf
Handle prepare timeout in websocket API ( #55989 )
2021-10-08 22:12:06 -07:00
Paulus Schoutsen
7fe3c472e9
Improve bad JSON data reporting ( #47932 )
...
* Improve bad data reporting
* Fix tests
Co-authored-by: Erik <erik@montnemery.com>
2021-03-15 10:41:25 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Paulus Schoutsen
d93c09327a
Report unserializable data in websocket ( #34072 )
...
* Report unserializable data in websocket
* Fix tests
* log types too
2020-04-13 23:46:41 -07:00
Paulus Schoutsen
bea354b82a
Allow WS queue to temporarily peak ( #34175 )
...
* Allow WS queue to temporarily peak
* Remove unused code
2020-04-13 18:50:36 -07:00