🏡 Open source home automation that puts local control and privacy first.
Find a file
J. Nick Koston f0cb03e631
Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678)
* Handle incorrect or missing device name for ESPHome noise encryption

If we did not have the device name during setup we could never
get the key from the dashboard. The device will send us
its name if we try encryption which allows us to find the
right key from the dashboard.

This should help get users unstuck when they change the key
and cannot get the device back online after deleting and
trying to set it up again manually

* bump lib to get name

* tweak

* reduce number of connections

* less connections when we know we will fail

* coverage shows it works but it does not

* add more coverage

* fix test

* bump again
2023-07-02 10:29:45 -04:00
.devcontainer Drop flake8 in favor of Ruff (#89863) 2023-03-17 13:30:06 +01:00
.github Bump version to 2023.8.0dev0 (#95476) 2023-06-28 16:07:54 -04:00
.vscode Add scaffolds to vscode tasks (#92015) 2023-05-21 21:29:33 +02:00
docs Update featured integrations screenshot (#95473) 2023-06-28 21:36:46 -04:00
homeassistant Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678) 2023-07-02 10:29:45 -04:00
machine Fix machine build templates (#95393) 2023-06-27 18:00:12 +02:00
pylint Remove str as a valid HVACMode & HVACAction type (#94644) 2023-06-15 20:16:17 +02:00
rootfs Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02:00
script Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
tests Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678) 2023-07-02 10:29:45 -04:00
.core_files.yaml Add image entity component (#90564) 2023-06-19 17:03:48 +02:00
.coveragerc Fix qr code data update in AVM Fritz!Tools (#95470) 2023-06-28 19:57:03 +02:00
.dockerignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.gitattributes Ensure .pcm binary files do not have line endings changed (#91881) 2023-04-22 22:22:30 -04: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 Update ruff pre-commit repo (#95603) 2023-07-01 12:12:24 +02:00
.prettierignore Add tests to Lidarr (#79610) 2023-03-28 16:49:32 +02:00
.readthedocs.yml Update readthedocs config (#65230) 2022-01-30 20:15:32 -08:00
.strict-typing Remove senseme integration (#94363) 2023-06-27 14:43:19 +02:00
.yamllint Add filters to climate and light service descriptions (#86162) 2023-03-16 15:59:51 +01:00
build.yaml Cosign support (#95236) 2023-06-26 14:32:02 +02: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 URLs forwarding to HA blog posts (#91698) 2023-04-20 20:55:13 +02:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
CODEOWNERS Add new integration Loqed (#70080) 2023-06-28 09:42:12 +02:00
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
Dockerfile Remove legacy pip resolver (#92124) 2023-04-27 22:39:29 +02:00
Dockerfile.dev Bump python devcontainer (#94540) 2023-06-14 11:38:47 +02: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 Remove senseme integration (#94363) 2023-06-27 14:43:19 +02:00
pyproject.toml Update typing-extensions to 4.7.0 (#95539) 2023-06-30 15:00:15 +02:00
README.rst Update URL in readme (#94282) 2023-06-09 09:24:53 +02:00
requirements.txt Update typing-extensions to 4.7.0 (#95539) 2023-06-30 15:00:15 +02:00
requirements_all.txt Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678) 2023-07-02 10:29:45 -04:00
requirements_docs.txt Refactor API documentation (#33217) 2020-03-25 13:21:04 -07:00
requirements_test.txt Update types packages (#95222) 2023-06-26 12:49:18 +02:00
requirements_test_all.txt Handle missing or incorrect device name and unique id for ESPHome during manual add (#95678) 2023-07-02 10:29:45 -04:00
requirements_test_pre_commit.txt Replace isort with ruff (#94302) 2023-06-08 23:43:56 +02: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://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/master/docs/screenshots.png
   :target: https://demo.home-assistant.io
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/