feat: add problem detection framework for common problems (#2412)

Introduces a ProblemManager that detects and surfaces actionable issues
(stale config, legacy frigate-hass-card resources, slow/failed streams)
via status bar indicators and notification popups with fix actions.
This commit is contained in:
Dermot Duffy
2026-03-13 20:00:59 -07:00
committed by GitHub
parent 95faddd9a0
commit ab683df5e8
46 changed files with 2147 additions and 166 deletions
+2 -5
View File
@@ -1,5 +1,6 @@
import { z } from 'zod';
import type { EffectOptions } from './card-controller/effects/types';
import type { Link } from './config/schema/common/link';
import type { LovelaceCard, LovelaceCardConfig, LovelaceCardEditor } from './ha/types';
// UI-facing media types for galleries and views.
@@ -49,10 +50,6 @@ export interface MediaLoadedInfo {
}
export type MessageType = 'info' | 'error' | 'connection' | 'diagnostics';
export interface MessageURL {
link: string;
title: string;
}
export interface Message {
message: string;
@@ -60,7 +57,7 @@ export interface Message {
icon?: string;
context?: unknown;
dotdotdot?: boolean;
url?: MessageURL;
link?: Link;
}
export type WebkitHTMLVideoElement = HTMLVideoElement & {