1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-23 20:09:03 +00:00

Add job names and references everywhere (#4495)

* Add job names and references everywhere

* Remove group names check and switch to const

* Ensure unique job names in decorator tests
This commit is contained in:
Mike Degatano
2023-08-21 03:15:37 -04:00
committed by GitHub
parent f2f9e3b514
commit 93ba8a3574
45 changed files with 779 additions and 196 deletions

View File

@@ -304,7 +304,7 @@ class HomeAssistant(FileConfiguration, CoreSysAttributes):
self.sys_homeassistant.websocket.send_message({ATTR_TYPE: "usb/scan"})
@Job()
@Job(name="home_assistant_module_backup")
async def backup(self, tar_file: tarfile.TarFile) -> None:
"""Backup Home Assistant Core config/ directory."""