core/homeassistant/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
..
blueprints
__init__.py Don't reload other automations when saving an automation (#80254) 2024-04-16 15:58:57 +02:00
config.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
const.py Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
helpers.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
icons.json Update reload icons for automation and person service (#109147) 2024-01-30 19:36:57 +01:00
logbook.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
manifest.json
reproduce_state.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
services.yaml
strings.json
trace.py Enable Ruff TRY201 (#114269) 2024-03-28 10:18:07 +01:00