automation: default state for unknown automation is disabled
This commit is contained in:
parent
ac4f9b4942
commit
74de24fce3
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def run_job(job: BaseAutomation, *, force: bool = False, ignore_schedule: bool =
|
|||
automation = Automation()
|
||||
automation.short_name = job.short_name
|
||||
automation.description = job.description
|
||||
automation.enabled = True
|
||||
automation.enabled = False
|
||||
automation.next_is_full = False
|
||||
automation.added = datetime.datetime.utcnow()
|
||||
automation.updated = automation.added
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue