🏡 Open source home automation that puts local control and privacy first.
Go to file
J. Nick Koston 662dea28ed
Replace queries using distinct with correlated scalar subqueries to significantly improve purge performance (#133748)
Replace queries using distinct with correlated scalar subqueries

like #133553 and #133699 PostgreSQL does not support skip/loose index scan https://wiki.postgresql.org/wiki/Loose_indexscan

This makes the `distinct` query (see section `Selecting Distinct Values` in the wiki above) to find the unused ids
very expense. We can replace them with correlated scalar subqueries
as done in #133553 to avoid the `distinct`
2024-12-21 22:25:48 -05:00
.devcontainer Add JSON schema for manifest.json (#128560) 2024-10-26 02:10:58 +02:00
.github Bump codecov/codecov-action from 5.1.1 to 5.1.2 (#133547) 2024-12-19 10:52:10 +01:00
.vscode Fix Visual Studio Code tasks to use selected Python interpreter (#132219) 2024-12-04 10:39:54 +01:00
homeassistant Replace queries using distinct with correlated scalar subqueries to significantly improve purge performance (#133748) 2024-12-21 22:25:48 -05:00
machine Fix Raspberry Pi utilities installation on Alpine 3.19 (#110463) 2024-02-13 15:07:37 +01:00
pylint Cleanup pylint obsolete import checks (#131904) 2024-12-01 16:49:51 +01:00
rootfs Stop the Home Assistant Core container by default (#101105) 2023-09-30 10:43:07 +02:00
script Bump intents to 2024.12.20 (#133676) 2024-12-20 14:23:12 -05:00
tests Add reauthentication support to Peblar Rocksolid EV Chargers integration (#133757) 2024-12-21 23:00:29 +01:00
.core_files.yaml Adjust light test helpers to use Kelvin, and cleanup unused helpers (#133048) 2024-12-12 16:49:25 +01:00
.dockerignore Add asdf tools dot file to gitignore (#128608) 2024-10-18 09:34:22 +02:00
.git-blame-ignore-revs Add ruff commit to git-blame-ignore-revs (#114229) 2024-03-26 12:16:55 +01:00
.gitattributes
.gitignore Add asdf tools dot file to gitignore (#128608) 2024-10-18 09:34:22 +02:00
.hadolint.yaml Update base image to 2023.10.0 (#102126) 2023-10-18 19:11:41 +02:00
.pre-commit-config.yaml Add basic UniFi Protect AiPort support (#133523) 2024-12-19 08:18:21 -10:00
.prettierignore Remove outdated prettier and yamllint `azure-*.yml` ignores (#112819) 2024-03-09 14:44:05 +02:00
.strict-typing Add Mealie to strict typing (#133644) 2024-12-20 15:17:08 +01:00
.yamllint Remove outdated prettier and yamllint `azure-*.yml` ignores (#112819) 2024-03-09 14:44:05 +02:00
CLA.md
CODEOWNERS Switch to official Zabbix Python API (#131674) 2024-12-20 10:59:30 +01:00
CODE_OF_CONDUCT.md Update codespell to 2.3.0 (#118001) 2024-05-24 08:22:29 +02:00
CONTRIBUTING.md
Dockerfile Bump uv to 0.5.8 (#133036) 2024-12-12 14:51:15 +01:00
Dockerfile.dev Update devcontainer to Python 3.13 (#132313) 2024-12-13 09:22:01 +01:00
LICENSE.md
MANIFEST.in
README.rst Add Open Home Foundation logo to README (#127111) 2024-09-30 16:49:30 +02:00
build.yaml Update Home Assistant base image to 2024.12.0 (#133558) 2024-12-19 10:48:43 +01:00
codecov.yml Remove coveragerc (#121286) 2024-07-05 11:03:31 +02:00
mypy.ini Add Mealie to strict typing (#133644) 2024-12-20 15:17:08 +01:00
pyproject.toml Update aiohasupervisor to 0.2.2b5 (#133722) 2024-12-21 15:10:35 +01:00
requirements.txt Update aiohasupervisor to 0.2.2b5 (#133722) 2024-12-21 15:10:35 +01:00
requirements_all.txt Update peblar to v0.3.0 (#133751) 2024-12-21 21:26:40 +01:00
requirements_test.txt Bump pydantic to 2.10.4 (#133539) 2024-12-19 10:01:40 +01:00
requirements_test_all.txt Update peblar to v0.3.0 (#133751) 2024-12-21 21:26:40 +01:00
requirements_test_pre_commit.txt Bump ruff to 0.8.3 (#133163) 2024-12-13 19:06:44 +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.

|ohf-logo|

.. |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/
.. |ohf-logo| image:: https://www.openhomefoundation.org/badges/home-assistant.png
   :alt: Home Assistant - A project from the Open Home Foundation
   :target: https://www.openhomefoundation.org/