Switch to uptime-kuma-api-v2 for Kuma v2 support
All checks were successful
Build and Push Container / build (push) Successful in 43s

The original uptime-kuma-api library doesn't support Uptime Kuma v2's
required conditions field. The v2 fork has the same API but properly
supports the newer schema.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-01-05 05:35:50 +00:00
parent 4da7f899c6
commit 908d147235
2 changed files with 1 additions and 2 deletions

View File

@@ -203,7 +203,6 @@ class UptimeKumaClient:
"interval": monitor.interval,
"maxretries": monitor.retries,
"retryInterval": monitor.retry_interval,
"conditions": [], # Required for Uptime Kuma v2
}
# Add type-specific fields