hass-core/tests/components/websocket_api
J. Nick Koston f9205cd88d
Avoid additional timestamp conversion to set state (#118885)
Avoid addtional timestamp conversion to set state

Since we already have the timestamp, we can pass it on to the State
object and avoid the additional timestamp conversion which can be as
much as 30% of the state write runtime.

Since datetime objects are limited to microsecond precision, we need
to adjust some tests to account for the additional precision that we
will now be able to get in the database
2024-06-05 23:43:34 -04:00
..
__init__.py
conftest.py Add ClientSessionGenerator type hints in tests (#118377) 2024-05-29 14:49:14 +02:00
test_auth.py Bump aiohttp to 3.9.4 (#110730) 2024-04-11 11:58:56 -10:00
test_commands.py Improve WS command validate_config (#118864) 2024-06-05 18:53:44 +02:00
test_connection.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_decorators.py Skip processing websocket_api schema if it has no arguments (#115618) 2024-04-18 10:41:08 -04:00
test_http.py Improve websocket message coalescing to handle thundering herds better (#118268) 2024-05-28 23:14:06 -04:00
test_init.py Bump aiohttp to 3.9.4 (#110730) 2024-04-11 11:58:56 -10:00
test_messages.py Avoid additional timestamp conversion to set state (#118885) 2024-06-05 23:43:34 -04:00
test_sensor.py Add empty line after module docstring [tests t-z] (#112712) 2024-03-08 14:44:56 +01:00