Resi cues connection errors are amber (check option amber): 'Poll failed' is not the stream down

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 11:36:07 -04:00
co-authored by Claude Opus 5.5
parent 0da1c20a17
commit 55615dd971
4 changed files with 11 additions and 2 deletions
+3
View File
@@ -273,6 +273,9 @@ def check_conn(chk, snap, ctx):
c = snap.conns.get(chk["conn"], {})
if chk.get("ignore_warning") and res.level == WARN and c.get("enabled") and c.get("category") == "warning":
res = Result(OK)
if chk.get("amber") and res.level == ERR and c.get("enabled"):
# A cloud helper (Resi cues): its error is not the stream being down (2026-10-25: "Poll failed").
res = Result(WARN, res.msg, service_only=res.service_only)
return [("conn", res)]