forked from DigiLive/mushroom-strategy
Refactor property visibilities
Narrows down the visibility of abstract class properties.
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -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',
|
||||
};
|
||||
|
||||
@@ -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',
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user