hass-core/tests/components/script
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
..
__init__.py Move components to folders (#20774) 2019-02-05 19:31:15 -08:00
conftest.py Add type hints for stub_blueprint_populate fixture (#93568) 2023-05-26 08:13:13 +02:00
test_blueprint.py Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
test_init.py Allow returning a script variable from a script (#95346) 2023-06-27 17:13:53 +02:00
test_recorder.py Require a list of entity ids when fetching history (#90992) 2023-04-08 16:14:44 -10:00