hass-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 Update Deprecated Selector Syntax (#99308) 2023-09-12 20:10:32 +02:00
__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 Revert "Allows defining list of attributes excluded from history in manifest.json" (#99300) 2023-08-30 08:26:26 +02:00
reproduce_state.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
services.yaml Migrate automation services to support translations (#96306) 2023-07-11 23:17:54 +02:00
strings.json Add more common translations (#96429) 2023-07-12 22:00:05 -04:00
trace.py Enable Ruff TRY201 (#114269) 2024-03-28 10:18:07 +01:00