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
test_commands.py Improve WS command validate_config (#118864) 2024-06-05 18:53:44 +02:00
test_connection.py
test_decorators.py
test_http.py
test_init.py
test_messages.py Avoid additional timestamp conversion to set state (#118885) 2024-06-05 23:43:34 -04:00
test_sensor.py