diff --git a/src/cards/AbstractCard.ts b/src/cards/AbstractCard.ts index 7ec1f41..606d512 100644 --- a/src/cards/AbstractCard.ts +++ b/src/cards/AbstractCard.ts @@ -22,7 +22,7 @@ abstract class AbstractCard { * * Child classes should override this property to reflect their own card type and options. */ - configuration: LovelaceCardConfig = { + protected configuration: LovelaceCardConfig = { type: 'custom:mushroom-entity-card', icon: 'mdi:help-circle', }; diff --git a/src/chips/AbstractChip.ts b/src/chips/AbstractChip.ts index 1ec488f..aff3194 100644 --- a/src/chips/AbstractChip.ts +++ b/src/chips/AbstractChip.ts @@ -20,7 +20,8 @@ abstract class AbstractChip { * * Child classes should override this property to reflect their own card type and options. */ - configuration: LovelaceChipConfig = { + protected configuration: LovelaceChipConfig = { + // TODO: Check if this is correct vs custom:mushroom-template-badge. Also in child classes. type: 'template', };