Files
advanced-camera-card/src/config/types.ts
T
Paul Botteinanddermotduffy b33c034810 feat: Add card picker suggestion for camera entities (#2517)
Selecting a camera entity in the dashboard card picker now suggests
Advanced Camera Card under the Community section, so you can add it in
one click without searching for it manually.

Requires Home Assistant 2026.6 or later.

Docs:
https://developers.home-assistant.io/docs/frontend/custom-ui/custom-card#suggesting-your-card-for-an-entity

---------

Co-authored-by: dermotduffy <dermot.duffy@gmail.com>
2026-06-30 17:45:13 -07:00

15 lines
543 B
TypeScript

import type { PartialDeep } from 'type-fest';
import type { AdvancedCameraCardConfig } from './schema/types';
export type RawAdvancedCameraCardConfig = Record<string, unknown>;
export type RawAdvancedCameraCardConfigArray = RawAdvancedCameraCardConfig[];
// A partial config used for pre-parsed configs (e.g. a stub config). Nested
// fields are optional because their defaults are applied when the config is
// parsed.
export type PartialAdvancedCameraCardConfig = PartialDeep<
AdvancedCameraCardConfig,
{ recurseIntoArrays: true }
>;