Add consistent initialization logic to improve Chromecast support.
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
CustomActionConfig,
|
||||
HomeAssistant,
|
||||
LovelaceCard,
|
||||
LovelaceCardConfig,
|
||||
LovelaceCardEditor,
|
||||
MoreInfoActionConfig,
|
||||
NavigateActionConfig,
|
||||
@@ -1152,6 +1153,14 @@ export interface FrigateCardMediaPlayer {
|
||||
unmute(): void;
|
||||
}
|
||||
|
||||
export interface CardHelpers {
|
||||
createCardElement(config: LovelaceCardConfig): Promise<{
|
||||
constructor: {
|
||||
getConfigElement(): HTMLElement
|
||||
};
|
||||
}>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Assistant API types.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user