🏡 Open source home automation that puts local control and privacy first.
Find a file
J. Nick Koston 85d6e03dd3
Require newly configured esphome device to allow Home Assistant service calls (#95143)
* Require esphome service calls to be enabled

For existing devices, calling Home Assistant services continues
to be allowed.

For newly configured devices, it must now be enabled in the options
flow

* fix

* adjust

* coverage

* adjust

* fix test

* Update homeassistant/components/esphome/strings.json

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Update homeassistant/components/esphome/strings.json

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Update homeassistant/components/esphome/strings.json

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Update homeassistant/components/esphome/__init__.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Update homeassistant/components/esphome/__init__.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Update homeassistant/components/esphome/__init__.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-25 21:18:21 -04:00
.devcontainer Drop flake8 in favor of Ruff (#89863) 2023-03-17 13:30:06 +01:00
.github Bump Wandalen/wretry.action from 1.2.0 to 1.3.0 (#95098) 2023-06-23 14:20:17 +02:00
.vscode Add scaffolds to vscode tasks (#92015) 2023-05-21 21:29:33 +02:00
docs Update screenshot of featured integrations (#91345) 2023-04-15 15:56:46 +02:00
homeassistant Require newly configured esphome device to allow Home Assistant service calls (#95143) 2023-06-25 21:18:21 -04:00
machine Cleanup pybluez from machine builds (#92122) 2023-04-27 18:02:26 +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 Remove assert_lists_same test helper (#94904) 2023-06-21 12:10:28 +02:00
tests Require newly configured esphome device to allow Home Assistant service calls (#95143) 2023-06-25 21:18:21 -04:00
.core_files.yaml Add image entity component (#90564) 2023-06-19 17:03:48 +02:00
.coveragerc Add test coverage for esphome lock platform (#95023) 2023-06-24 23:10:47 -04: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
.pre-commit-config.yaml Replace isort with ruff (#94302) 2023-06-08 23:43:56 +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 Cleanup ping (#95168) 2023-06-25 09:00:52 -05:00
.yamllint Add filters to climate and light service descriptions (#86162) 2023-03-16 15:59:51 +01:00
build.yaml Update Home Assistant base image to 2023.06.0 (#94556) 2023-06-13 22:27:14 +02:00
CLA.md
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 Migrate Linn / Openhome integration to SSDP config flow (#94564) 2023-06-21 12:46:17 -04:00
CONTRIBUTING.md
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
MANIFEST.in
mypy.ini Cleanup ping (#95168) 2023-06-25 09:00:52 -05:00
pyproject.toml Bump cryptography to 41.0.1 and PyOpenSSL to 23.2.0 (#94777) 2023-06-17 16:23:06 -04:00
README.rst Update URL in readme (#94282) 2023-06-09 09:24:53 +02:00
requirements.txt Bump cryptography to 41.0.1 and PyOpenSSL to 23.2.0 (#94777) 2023-06-17 16:23:06 -04:00
requirements_all.txt Update xknx to 2.11.0: Add support for Light DPT 9 color temperature (#95213) 2023-06-25 21:05:35 -04:00
requirements_docs.txt
requirements_test.txt Update requests_mock to 1.11.0 (#94298) 2023-06-22 09:46:03 +02:00
requirements_test_all.txt Update xknx to 2.11.0: Add support for Light DPT 9 color temperature (#95213) 2023-06-25 21:05:35 -04:00
requirements_test_pre_commit.txt Replace isort with ruff (#94302) 2023-06-08 23:43:56 +02:00
setup.cfg Drop flake8 in favor of Ruff (#89863) 2023-03-17 13:30:06 +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://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/