Find a file
J. Nick Koston 3d595fff13
Avoid duplicate timestamp conversions for websocket api and recorder (#108144)
* Avoid duplicate timestamp conversions for websocket api and recorder

We convert the time from datetime to timestamps one per
open websocket connection and the recorder for every
state update. Only do the conversion once since its
~30% of the cost of building the state diff

* more

* two more

* two more in live history
2024-01-16 14:05:01 +01:00
.devcontainer Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
.github Bump github/codeql-action from 3.22.12 to 3.23.0 (#107628) 2024-01-12 09:31:13 +01:00
.vscode Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
homeassistant Avoid duplicate timestamp conversions for websocket api and recorder (#108144) 2024-01-16 14:05:01 +01:00
machine Add Raspberry Pi 5 specific container image (#105488) 2023-12-11 17:39:48 +01:00
pylint Add pylint plugin to check for sorted platforms list (#108115) 2024-01-16 09:47:53 +01:00
rootfs Stop the Home Assistant Core container by default (#101105) 2023-09-30 10:43:07 +02:00
script Bump lxml to 5.1.0 (#106696) 2024-01-13 21:08:42 -05:00
tests Avoid duplicate timestamp conversions for websocket api and recorder (#108144) 2024-01-16 14:05:01 +01:00
.core_files.yaml Add todo to core files (#103102) 2023-10-31 07:55:03 +01:00
.coveragerc Add config flow for Ecovacs (#108111) 2024-01-16 13:31:42 +01:00
.dockerignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.gitattributes Ensure .pcm binary files do not have line endings changed (#91881) 2023-04-22 22:22:30 -04:00
.gitignore Remove dev API docs from repository (#102274) 2023-10-20 08:10:46 +02:00
.hadolint.yaml Update base image to 2023.10.0 (#102126) 2023-10-18 19:11:41 +02:00
.pre-commit-config.yaml Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
.prettierignore Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00
.strict-typing Enable strict typing for onboarding (#108097) 2024-01-15 16:53:24 +01:00
.yamllint Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00
build.yaml Update Home Assistant base image to 2024.01.0 - Python 3.12 (#107175) 2024-01-04 21:42:03 +01:00
CLA.md
CODE_OF_CONDUCT.md Update URLs forwarding to HA blog posts (#91698) 2023-04-20 20:55:13 +02:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
CODEOWNERS Add config flow for Ecovacs (#108111) 2024-01-16 13:31:42 +01:00
CONTRIBUTING.md
Dockerfile Attempt to fix 32bit docker builds (#107210) 2024-01-05 08:23:04 +01:00
Dockerfile.dev Add ffmpeg to dev-container (#106710) 2023-12-30 13:14:49 +01:00
LICENSE.md
MANIFEST.in
mypy.ini Enable strict typing for onboarding (#108097) 2024-01-15 16:53:24 +01:00
pyproject.toml Add pylint plugin to check for sorted platforms list (#108115) 2024-01-16 09:47:53 +01:00
README.rst Update URL in readme (#94282) 2023-06-09 09:24:53 +02:00
requirements.txt Bump Jinja2 to 3.1.3 (#108082) 2024-01-15 12:10:17 +01:00
requirements_all.txt Bump opower to 0.2.0 (#108067) 2024-01-16 13:43:19 +01:00
requirements_test.txt Update pipdeptree to 2.13.2 (#108009) 2024-01-14 10:58:17 +01:00
requirements_test_all.txt Bump opower to 0.2.0 (#108067) 2024-01-16 13:43:19 +01:00
requirements_test_pre_commit.txt Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00

Home Assistant |Chat Status|
=================================================================================

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Check out `home-assistant.io <https://home-assistant.io>`__ for `a
demo <https://demo.home-assistant.io>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-integrations|

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/architecture_index/>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/creating_component_index/>`__.

If you run into issues while using Home Assistant or during development
of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://www.home-assistant.io/join-chat/
.. |screenshot-states| image:: https://raw.githubusercontent.com/home-assistant/core/master/docs/screenshots.png
   :target: https://demo.home-assistant.io
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/