feat: Modernize the visual card editor. (#2586)

This commit is contained in:
Dermot Duffy
2026-07-20 20:44:16 -07:00
committed by GitHub
parent e204ec183f
commit b6e1de5999
146 changed files with 8487 additions and 5992 deletions
+3
View File
@@ -54,6 +54,7 @@ import type {
RawAdvancedCameraCardConfig,
} from './config/types.js';
import { REPO_URL } from './const.js';
import { registerCustomIconset } from './ha/custom-icons.js';
import type { HomeAssistant, LovelaceCardEditor } from './ha/types.js';
import { localize } from './localize/localize.js';
import cardStyle from './scss/card.scss';
@@ -105,6 +106,8 @@ console.info(
getEntitySuggestion: ConfigManager.getEntitySuggestion,
});
registerCustomIconset();
// Expose currently-connected card instances on `window.advancedCameraCards` for
// console-based debugging and user support. `??=` so a double-loaded card
// shares one array (same pattern as `customCards` above).