core/tests/components/automation
Erik Montnemery 7cd0fe3c5f
Don't reload other automations when saving an automation (#80254)
* Only reload modified automation

* Correct check for existing automation

* Add tests

* Remove the new service, improve ReloadServiceHelper

* Revert unneeded changes

* Update tests

* Address review comments

* Improve test coverage

* Address review comments

* Tweak reloader code + add a targetted test

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Explain the tests + add more variations

* Fix copy-paste mistake in test

* Rephrase explanation of expected test outcome

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-16 15:58:57 +02:00
..
__init__.py
conftest.py Add type hints for stub_blueprint_populate fixture (#93568) 2023-05-26 08:13:13 +02:00
test_blueprint.py Use is in ConfigEntryState enum comparison in tests (A-M) (#114925) 2024-04-05 17:16:55 +02:00
test_init.py Don't reload other automations when saving an automation (#80254) 2024-04-16 15:58:57 +02:00
test_logbook.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_recorder.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_reproduce_state.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00