mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-04 12:04:28 +02:00
Fix Header Card type
This commit is contained in:
@@ -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',
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user