🏡 Open source home automation that puts local control and privacy first.
Go to file
J. Nick Koston d1e1734fc7
Use PidfdChildWatcher by default when available (#87951)
This is a backport from cpython 3.12

https://docs.python.org/3/library/asyncio-policy.html
> PidfdChildWatcher is a “Goldilocks” child watcher implementation. It doesn’t require signals or threads, doesn’t interfere with any processes launched outside the event loop, and scales linearly with the number of subprocesses launched by the event loop. The main disadvantage is that pidfds are specific to Linux, and only work on recent (5.3+) kernels.

https://github.com/python/cpython/pull/98024
There are some additional fixes in cpython 3.12
in https://github.com/python/cpython/pull/94184
when there is no event loop running in the main thread
but this is not a problem we have
2023-02-12 15:41:55 -05:00
.devcontainer Revert "Add SSHd and GH CLI to devcontainer to support `gh net`" (#86360) 2023-01-21 21:18:22 -05:00
.github Bump actions/cache from 3.2.4 to 3.2.5 (#87825) 2023-02-10 08:43:24 +01:00
.vscode Remove translations from Core (#87543) 2023-02-06 15:06:43 +01:00
docs Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
homeassistant Use PidfdChildWatcher by default when available (#87951) 2023-02-12 15:41:55 -05:00
machine Update Builder & Wheels + support yellow (#73896) 2022-06-23 13:58:24 +02:00
pylint/plugins Add more type hints to conftest.py (#87842) 2023-02-11 13:48:53 +01:00
rootfs Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02:00
script Fix typo in requires-python hassfest error message (#87896) 2023-02-12 09:11:56 -06:00
tests Fix kegtron state class for volume sensors (#87950) 2023-02-12 21:22:21 +01:00
.core_files.yaml Trigger full CI on recorder test changes (#87764) 2023-02-09 10:19:39 +01:00
.coveragerc Add support for dormakaba dKey locks (#87501) 2023-02-12 13:46:31 +01:00
.dockerignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.gitattributes highlight Dockerfile.dev as Dockerfile in github ui (#36933) 2020-06-22 14:45:57 +02:00
.gitignore Remove translations from Core (#87543) 2023-02-06 15:06:43 +01:00
.hadolint.yaml Add hadolint to CI (#34758) 2020-04-27 12:09:31 +02:00
.pre-commit-config.yaml Add color support to matter lights (#87366) 2023-02-07 20:44:02 +01:00
.prettierignore Add Leviton brand (#79244) 2022-09-29 12:28:51 +02:00
.readthedocs.yml Update readthedocs config (#65230) 2022-01-30 20:15:32 -08:00
.strict-typing Enable strict typing for the dormakaba_dkey integration (#87934) 2023-02-12 19:00:35 +01:00
.yamllint Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
CLA.md
CODEOWNERS Update growatt_server owners (#87804) 2023-02-12 20:12:05 +01:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#73468) 2022-06-23 01:41:22 +02:00
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
Dockerfile 75142 Added QEMU_CPU ARG to the dockerfile (#86178) 2023-01-19 10:22:23 +01:00
Dockerfile.dev Drop Python 3.9 support (#85456) 2023-01-22 20:40:33 +01:00
LICENSE.md
MANIFEST.in Move remaining keys to `setup.cfg` (#65154) 2022-01-28 20:18:09 -08:00
README.rst Update featured integrations image (#76011) 2022-08-02 09:09:24 +02:00
build.yaml Update base image to 2022.11.0 (#82527) 2022-11-24 19:21:42 +01:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
mypy.ini Enable strict typing for the dormakaba_dkey integration (#87934) 2023-02-12 19:00:35 +01:00
pyproject.toml Enable Ruff ICN001 (#87775) 2023-02-09 13:41:50 +01:00
requirements.txt Bump cryptography to 39.0.1 for CVE-2023-23931 (#87658) 2023-02-07 20:30:16 -05:00
requirements_all.txt Bump wiffi to 1.1.2 (#87798) 2023-02-12 20:25:03 +01:00
requirements_docs.txt
requirements_test.txt Enable pydantic mypy plugin (#87415) 2023-02-09 13:33:10 +01:00
requirements_test_all.txt Bump wiffi to 1.1.2 (#87798) 2023-02-12 20:25:03 +01:00
requirements_test_pre_commit.txt Update Ruff to 0.0.241 (#87386) 2023-02-04 14:42:36 -05:00
setup.cfg Enable Ruff TRY004 (#86811) 2023-01-30 14:06:52 +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://home-assistant.io/demo/>`__, `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://discord.gg/c5DvZ4e
.. |screenshot-states| image:: https://raw.githubusercontent.com/home-assistant/core/master/docs/screenshots.png
   :target: https://home-assistant.io/demo/
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/