"feat: Enhance power management testing in backend"

This commit is contained in:
Till Tomczak 2025-05-29 23:12:57 +02:00
parent f5b4fdd296
commit e396f2b3f4
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@

View File

@ -704,8 +704,8 @@ def test_tapo_connection(ip_address: str, username: str = None, password: str =
# Scheduler-Instanz erzeugen
scheduler = BackgroundTaskScheduler()
# Standardaufgaben registrieren
scheduler.register_task("check_jobs", scheduler._check_jobs, interval=60)
# Standardaufgaben registrieren - reduziertes Intervall für bessere Reaktionszeit
scheduler.register_task("check_jobs", scheduler._check_jobs, interval=30)
# Alias für Kompatibilität
JobScheduler = BackgroundTaskScheduler