Fix Header Card type

This commit is contained in:
DigiLive
2025-04-26 08:45:18 +02:00
parent 42cf9250fa
commit b52c3a42e2
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. */ /** Returns the default configuration object for the card. */
static getDefaultConfig(): StrategyHeaderCardConfig { static getDefaultConfig(): StrategyHeaderCardConfig {
return { return {
type: 'mushroom-title-card', type: 'custom:mushroom-title-card',
showControls: true, showControls: true,
iconOn: 'mdi:power-on', iconOn: 'mdi:power-on',
iconOff: 'mdi:power-off', 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. * @property {string} [offService=none] - Service to call for switching entities to the off state.
*/ */
export interface StrategyHeaderCardConfig extends MushroomTitleCardConfig { export interface StrategyHeaderCardConfig extends MushroomTitleCardConfig {
type: 'mushroom-title-card'; type: 'custom:mushroom-title-card';
showControls?: boolean; showControls?: boolean;
iconOn?: string; iconOn?: string;
iconOff?: string; iconOff?: string;