🏡 Open source home automation that puts local control and privacy first.
Go to file
J. Nick Koston 19d2d023ab
Ensure states table rebuild still happens if the event_id index was removed (#121938)
* Ensure states table rebuild still happens if the event_id index was removed

If ix_states_event_id was removed by the foreign key still
exists, the states table would not get rebuilt. This should
not happen under normal circumstances and seems to only be
possible if the index was removed manually or Home
Assistant was restarted forcefully in the middle
of a previous migration from years ago.

* cover

* fix tests

* mysql wont allow at that point but thats ok as long as its gone at the end
2024-07-14 23:20:52 +02:00
.devcontainer Update default pylint.importStrategy in dev container (#119900) 2024-06-19 11:27:01 +02:00
.github Bump actions/setup-python from 5.1.0 to 5.1.1 (#121749) 2024-07-11 08:52:35 +02:00
.vscode Generate translation in vscode taks: Code Coverage (#120434) 2024-07-07 17:05:44 +02:00
homeassistant Ensure states table rebuild still happens if the event_id index was removed (#121938) 2024-07-14 23:20:52 +02:00
machine Fix Raspberry Pi utilities installation on Alpine 3.19 (#110463) 2024-02-13 15:07:37 +01:00
pylint Add monkeypatch to enforce-type-hints plugin (#121051) 2024-07-05 11:35:56 +02:00
rootfs Stop the Home Assistant Core container by default (#101105) 2023-09-30 10:43:07 +02:00
script Disable blinkstick integration (#121846) 2024-07-12 16:09:07 +02:00
tests Ensure states table rebuild still happens if the event_id index was removed (#121938) 2024-07-14 23:20:52 +02:00
.core_files.yaml Add valve to base platform (#121313) 2024-07-05 17:41:13 +02: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 Add `__pycache__` to gitignore (#114056) 2024-05-18 13:30:03 +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.5.1 (#121324) 2024-07-05 16:44:14 -05:00
.prettierignore Remove outdated prettier and yamllint `azure-*.yml` ignores (#112819) 2024-03-09 14:44:05 +02:00
.strict-typing Add Autarco integration (#121600) 2024-07-10 23:05:31 +02:00
.yamllint Remove outdated prettier and yamllint `azure-*.yml` ignores (#112819) 2024-03-09 14:44:05 +02:00
CLA.md
CODEOWNERS Add Israel rail integration (#121418) 2024-07-11 08:45:32 +02:00
CODE_OF_CONDUCT.md Update codespell to 2.3.0 (#118001) 2024-05-24 08:22:29 +02:00
CONTRIBUTING.md
Dockerfile Bum uv to 0.2.13 (#120101) 2024-06-21 16:10:57 +02:00
Dockerfile.dev Use uv instead of pip in development env (#113517) 2024-05-21 09:56:31 +02:00
LICENSE.md
MANIFEST.in
README.rst Add Open Home Foundation link (#116405) 2024-04-29 21:28:47 +02:00
build.yaml Update Home Assistant base image to 2024.06.1 (#120168) 2024-06-22 18:52:44 +02:00
codecov.yml Remove coveragerc (#121286) 2024-07-05 11:03:31 +02:00
mypy.ini Add Autarco integration (#121600) 2024-07-10 23:05:31 +02:00
pyproject.toml Add Ruff refurb rules (#121701) 2024-07-10 21:47:40 +02:00
requirements.txt Update ulid-transform to 0.10.1 (#121321) 2024-07-05 14:07:39 -05:00
requirements_all.txt Bump ZHA lib to 0.0.23 (#121900) 2024-07-14 03:59:29 +02:00
requirements_test.txt Update mypy-dev to 1.12.0a1 (#121428) 2024-07-07 16:10:17 +02:00
requirements_test_all.txt Bump ZHA lib to 0.0.23 (#121900) 2024-07-14 03:59:29 +02:00
requirements_test_pre_commit.txt Bump ruff to 0.5.1 (#121324) 2024-07-05 16:44:14 -05: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/>`__.

This is a project of the `Open Home Foundation <https://www.openhomefoundation.org/>`__.

|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/