🏡 Open source home automation that puts local control and privacy first.
Find a file
J. Nick Koston def6c5c21c
Refactor integration startup time tracking to reduce overhead (#110136)
* Refactor integration startup time tracking to reduce overhead

- Use monotonic time for watching integration startup time as it avoids incorrect values if time moves backwards because of ntp during startup and reduces many time conversions since we want durations in seconds and not local time

- Use loop scheduling instead of a task

- Moves all the dispatcher logic into the new _WatchPendingSetups

* websocket as well

* tweaks

* simplify logic

* preserve logic

* preserve logic

* lint

* adjust
2024-02-17 21:47:55 -05:00
.devcontainer Add Shelly CoAP port to default container port (#108016) 2024-01-24 19:00:57 +01:00
.github Run codeql on schedule only (#110729) 2024-02-16 19:32:36 +01:00
.vscode Add task to install all requirements of an integration (#108262) 2024-01-18 22:11:02 +01:00
homeassistant Refactor integration startup time tracking to reduce overhead (#110136) 2024-02-17 21:47:55 -05:00
machine Fix Raspberry Pi utilities installation on Alpine 3.19 (#110463) 2024-02-13 15:07:37 +01:00
pylint Update ruff to 0.2.1 (#109796) 2024-02-06 15:41:34 +01:00
rootfs Stop the Home Assistant Core container by default (#101105) 2023-09-30 10:43:07 +02:00
script Remove matplotlib pinning due to Python 3.12 incompatibility (#110706) 2024-02-16 12:33:57 +01:00
tests Refactor integration startup time tracking to reduce overhead (#110136) 2024-02-17 21:47:55 -05:00
.core_files.yaml Add todo to core files (#103102) 2023-10-31 07:55:03 +01:00
.coveragerc Add number platform to powerview to control velocity on gen 3 hubs (#110724) 2024-02-17 09:52:13 -06: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.2.1 (#109796) 2024-02-06 15:41:34 +01:00
.prettierignore Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00
.strict-typing Enable strict type checking on apple_tv integration (#101688) 2024-02-15 15:17:00 +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.02.1 (#110395) 2024-02-12 20:17:24 +01:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:34 -08:00
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 Aprilaire integration (#95093) 2024-02-16 08:30:51 +01:00
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
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 Update license to official GitHub template (#16470) 2018-09-07 10:11:51 +02:00
MANIFEST.in Move remaining keys to setup.cfg (#65154) 2022-01-28 20:18:09 -08:00
mypy.ini Enable strict type checking on apple_tv integration (#101688) 2024-02-15 15:17:00 +01:00
pyproject.toml Add floor registry (#110741) 2024-02-17 21:21:15 +01:00
README.rst Fix readme images (#108767) 2024-01-30 15:00:57 +01:00
requirements.txt Bump cryptography to 42.0.3 (#110728) 2024-02-16 20:37:40 +01:00
requirements_all.txt Bump ical to 7.0.0 (#110811) 2024-02-17 22:58:59 +01:00
requirements_test.txt Update pytest to 8.0.0 (#109876) 2024-02-12 00:03:51 +01:00
requirements_test_all.txt Bump ical to 7.0.0 (#110811) 2024-02-17 22:58:59 +01:00
requirements_test_pre_commit.txt Update ruff to 0.2.1 (#109796) 2024-02-06 15:41:34 +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/dev/.github/assets/screenshot-states.png
   :target: https://demo.home-assistant.io
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/.github/assets/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/