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:
@@ -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."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user