Fix Header Card type

This commit is contained in:
DigiLive
2025-04-26 08:45:18 +02:00
parent f8dbbb1181
commit a66de0eefa
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ class HeaderCard {
/** Returns the default configuration object for the card. */
static getDefaultConfig(): StrategyHeaderCardConfig {
return {
type: 'mushroom-title-card',
type: 'custom:mushroom-title-card',
showControls: true,
iconOn: 'mdi:power-on',
iconOff: 'mdi:power-off',

View File

@@ -19,7 +19,7 @@ export type AbstractCardConfig = LovelaceCardConfig & EntitySharedConfig & Appea
* @property {string} [offService=none] - Service to call for switching entities to the off state.
*/
export interface StrategyHeaderCardConfig extends MushroomTitleCardConfig {
type: 'mushroom-title-card';
type: 'custom:mushroom-title-card';
showControls?: boolean;
iconOn?: string;
iconOff?: string;