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>
This commit is contained in:
committed by
dermotduffy
co-authored by
dermotduffy
parent
7dc29865b8
commit
b33c034810
@@ -1,2 +1,14 @@
|
||||
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 }
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user