Go to file
J. Nick Koston 9a79320861
Mark executor jobs as background unless created from a tracked task (#114450)
* Mark executor jobs as background unless created from a tracked task

If the current task is not tracked the executor job should not
be a background task to avoid delaying startup and shutdown.

Currently any executor job created in a untracked task or
background task would end up being tracked and delaying
startup/shutdown

* import exec has the same issue

* Avoid tracking import executor jobs

There is no reason to track these jobs as they are always awaited
and we do not want to support fire and forget import executor jobs

* fix xiaomi_miio

* lots of fire time changed without background await

* revert changes moved to other PR

* more

* more

* more

* m

* m

* p

* fix fire and forget tests

* scrape

* sonos

* system

* more

* capture callback before block

* coverage

* more

* more races

* more races

* more

* missed some

* more fixes

* missed some more

* fix

* remove unneeded

* one more race

* two
2024-03-30 00:16:53 -04:00
.devcontainer Allow debugging tests by default in vscode (#114065) 2024-03-25 11:25:46 +01:00
.github Fix script for checking on existing translations (#114354) 2024-03-28 09:11:02 +01:00
.vscode Add task to install all requirements of an integration (#108262) 2024-01-18 22:11:02 +01:00
homeassistant Mark executor jobs as background unless created from a tracked task (#114450) 2024-03-30 00:16:53 -04:00
machine Fix Raspberry Pi utilities installation on Alpine 3.19 (#110463) 2024-02-13 15:07:37 +01:00
pylint Allow float for int argument type [pylint plugin] (#114105) 2024-03-27 11:51:27 +01:00
rootfs Stop the Home Assistant Core container by default (#101105) 2023-09-30 10:43:07 +02:00
script Fix hassfest service icons check for custom integrations (#114389) 2024-03-28 16:20:20 +01:00
tests Mark executor jobs as background unless created from a tracked task (#114450) 2024-03-30 00:16:53 -04:00
.core_files.yaml Add todo to core files (#103102) 2023-10-31 07:55:03 +01:00
.coveragerc Add eq3btsmart integration (#109291) 2024-03-28 15:20:56 -10:00
.dockerignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.git-blame-ignore-revs Add ruff commit to git-blame-ignore-revs (#114229) 2024-03-26 12:16:55 +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 Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
.prettierignore Remove outdated prettier and yamllint `azure-*.yml` ignores (#112819) 2024-03-09 14:44:05 +02:00
.strict-typing Add Integration for Energenie Power-Sockets (#113097) 2024-03-29 13:29:14 +01:00
.yamllint Remove outdated prettier and yamllint `azure-*.yml` ignores (#112819) 2024-03-09 14:44:05 +02:00
CLA.md
CODEOWNERS Add Integration for Energenie Power-Sockets (#113097) 2024-03-29 13:29:14 +01:00
CODE_OF_CONDUCT.md Update URLs forwarding to HA blog posts (#91698) 2023-04-20 20:55:13 +02:00
CONTRIBUTING.md
Dockerfile Fix building images for nightlies (#114054) 2024-03-23 11:22:38 +01:00
Dockerfile.dev Bump devcontainer to 1-3.12 (#108709) 2024-03-08 12:00:48 +01:00
LICENSE.md
MANIFEST.in
README.rst Fix readme images (#108767) 2024-01-30 15:00:57 +01:00
build.yaml Update Home Assistant base image to 2024.03.0 (#113797) 2024-03-19 10:07:13 +01:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
mypy.ini Add Integration for Energenie Power-Sockets (#113097) 2024-03-29 13:29:14 +01:00
pyproject.toml Enable ruff TRY401 (#114395) 2024-03-29 07:20:36 +01:00
requirements.txt Revert "Update typing-extensions to 4.11.0rc1 (#114116)" (#114216) 2024-03-25 20:44:57 -10:00
requirements_all.txt Update frontend to 20240329.1 (#114459) 2024-03-29 22:13:31 +01:00
requirements_test.txt Update pytest-xdist to 3.4.0 (#114377) 2024-03-28 13:29:43 +01:00
requirements_test_all.txt Update frontend to 20240329.1 (#114459) 2024-03-29 22:13:31 +01:00
requirements_test_pre_commit.txt Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00

README.rst

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/