core/tests
Erik Montnemery cb22fb16f8
Allow returning a script variable from a script (#95346)
* Allow returning a script variable from a script

* Don't allow returning a template result

* Raise if response variable is undefined

* Add test

* Update homeassistant/helpers/script.py

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

* Format code

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-06-27 17:13:53 +02:00
..
auth Use call_at for events instead call_later (#93431) 2023-05-24 21:04:07 +02:00
backports
components Allow returning a script variable from a script (#95346) 2023-06-27 17:13:53 +02:00
fixtures
hassfest
helpers Base entity ids on English for languages not using Latin script (#91357) 2023-06-27 14:37:50 +02:00
pylint
resources
scripts
test_util
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 Allow stopping a script with a response value (#95284) 2023-06-27 08:24:22 +02: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
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
test_loader.py Complete persistent notifications migration (#92828) 2023-05-25 23:09:13 -04:00
test_main.py
test_requirements.py
test_runner.py
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
typing.py