hass-core/tests
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
..
auth Use call_at for events instead call_later (#93431) 2023-05-24 21:04:07 +02:00
backports Add return type to tests without arguments (#87613) 2023-02-07 14:20:06 +01:00
components Require newly configured esphome device to allow Home Assistant service calls (#95143) 2023-06-25 21:18:21 -04:00
fixtures Unblock JSON CI by fixing improperly indented JSON in test fixture (#88803) 2023-02-26 14:41:16 -06:00
hassfest Add type hints to core tests (#88478) 2023-02-20 11:42:56 +01:00
helpers Cache entity translation lookups and keys (#95180) 2023-06-25 08:50:48 -05:00
pylint Remove incorrect ignore in pylint plugin (#90024) 2023-03-27 13:53:14 +02:00
resources
scripts Allow parameterizing YAML config in tests (#87981) 2023-02-20 16:57:12 +01:00
test_util Adjust json imports in tests (#88248) 2023-02-17 19:13:48 +01:00
testing_config Implement Wind Gust speed in Weather entity component (#95065) 2023-06-23 08:22:46 +02:00
util Replace bandit with ruff (#93200) 2023-06-08 22:46:04 +02:00
__init__.py
common.py Fix hass_storage not clearing task (#95209) 2023-06-25 19:54:02 -04:00
conftest.py Don't mock non async with AsyncMock (#93749) 2023-05-29 20:20:27 +02:00
ignore_uncaught_exceptions.py
ruff.toml Replace isort with ruff (#94302) 2023-06-08 23:43:56 +02:00
syrupy.py Use ReadOnlyDict for entity registry options (#93824) 2023-05-30 20:11:39 -04:00
test_bootstrap.py Improve comment on patching the _import method in test bootstrap dependencies test (#91848) 2023-04-22 13:40:38 +02:00
test_config.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_config_entries.py Debounce discoveries to improve event loop stability at the started event (#94690) 2023-06-15 22:15:07 -04:00
test_core.py Improve service response data APIs (#94819) 2023-06-20 06:24:31 -07:00
test_data_entry_flow.py Reduce in progress flow matching overhead (#94403) 2023-06-11 10:41:38 +02:00
test_exceptions.py Enable Ruff PT006 (#88165) 2023-02-15 14:09:50 +01:00
test_loader.py Complete persistent notifications migration (#92828) 2023-05-25 23:09:13 -04:00
test_main.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_requirements.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_runner.py Add tmpdir to known fixtures in pylint (#89844) 2023-03-17 10:22:02 +01:00
test_setup.py Detect attempt to setup config entry integration via YAML (#93589) 2023-05-29 21:01:47 +02:00
test_test_fixtures.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
typing.py Add MockHAClientWebSocket test helper (#87832) 2023-02-10 10:23:26 -05:00