🏡 Open source home automation that puts local control and privacy first.
Find a file
J. Nick Koston c612a92cfb
Use python defaults for comparing State, LazyState, and Event objects (#86856)
* Speed up comparing State and Event objects

Use default python implementation for State and Event __hash__ and __eq__

The default implementation compared based on the id() of the object
which is effectively what we want here anyways. These overrides are
left over from the days when these used to be attrs objects

By avoiding implementing these ourselves all of the equality checks
can happen in native code

* tweak

* adjust tests

* write out some more

* fix test to not compare objects

* more test fixes

* more test fixes

* correct stats tests

* fix more tests

* fix more tests

* update sensor recorder tests
2023-01-29 13:31:43 -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 tibdex/github-app-token from 1.7.0 to 1.8.0 (#86767) 2023-01-27 20:35:56 +01:00
.vscode Add ability for pytest to run only on changed tests in codebase (#86776) 2023-01-27 10:35:18 +01:00
docs Small adjustments to API docs config (#86474) 2023-01-23 19:58:39 +01:00
homeassistant Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -05:00
machine Update Builder & Wheels + support yellow (#73896) 2022-06-23 13:58:24 +02:00
pylint/plugins Improve notify type hints (#86685) 2023-01-26 16:23:03 +01:00
rootfs Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02:00
script Revert "Mark repo as safe directory to git config (#83755)" (#86888) 2023-01-29 13:07:50 -05:00
tests Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -05:00
.core_files.yaml Trigger full CI on Text integration changes (#82907) 2022-11-29 15:49:10 +01:00
.coveragerc Add D-link tests (#86825) 2023-01-27 22:15:27 -05: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 Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.hadolint.yaml Add hadolint to CI (#34758) 2020-04-27 12:09:31 +02:00
.pre-commit-config.yaml Bump isort from 5.11.4 to 5.12.0 (#86890) 2023-01-29 15:04:17 +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 Add Mopeka integration (#86500) 2023-01-25 12:28:13 -05:00
.yamllint Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
build.yaml Update base image to 2022.11.0 (#82527) 2022-11-24 19:21:42 +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 CODE_OF_CONDUCT.md (#73468) 2022-06-23 01:41:22 +02:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
CODEOWNERS Add Mopeka integration (#86500) 2023-01-25 12:28:13 -05: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 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 Add Mopeka integration (#86500) 2023-01-25 12:28:13 -05:00
pyproject.toml Drop py39 from black target-version (#86814) 2023-01-27 22:39:52 +02:00
README.rst Update featured integrations image (#76011) 2022-08-02 09:09:24 +02:00
requirements.txt Bump httpx to 0.23.3 (#86614) 2023-01-25 11:40:46 +01:00
requirements_all.txt Bump pyrainbird to 2.0.0 (#86851) 2023-01-29 15:11:56 +01:00
requirements_docs.txt Refactor API documentation (#33217) 2020-03-25 13:21:04 -07:00
requirements_test.txt Add ability for pytest to run only on changed tests in codebase (#86776) 2023-01-27 10:35:18 +01:00
requirements_test_all.txt Bump pyrainbird to 2.0.0 (#86851) 2023-01-29 15:11:56 +01:00
requirements_test_pre_commit.txt Bump isort from 5.11.4 to 5.12.0 (#86890) 2023-01-29 15:04:17 +01:00
setup.cfg Enable T20 (flake8-print) to ban use of print statements (#86525) 2023-01-24 14:24:21 +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://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/