feat: Add hardened error handling and retries (#2451)

- Closes #1830
 - Closes #2099
This commit is contained in:
Dermot Duffy
2026-06-30 17:45:12 -07:00
committed by dermotduffy
parent 4bc787e2b7
commit 47bcce93d3
182 changed files with 7877 additions and 4043 deletions
-12
View File
@@ -1,6 +1,5 @@
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,17 +48,6 @@ export interface MediaLoadedInfo {
placeholder?: boolean;
}
export type MessageType = 'info' | 'error' | 'connection' | 'diagnostics';
export interface Message {
message: string;
type?: MessageType;
icon?: string;
context?: unknown;
dotdotdot?: boolean;
link?: Link;
}
export type WebkitHTMLVideoElement = HTMLVideoElement & {
webkitDisplayingFullscreen: boolean;
webkitSupportsFullscreen: boolean;