Refactor property visibilities

Narrows down the visibility of abstract class properties.
This commit is contained in:
DigiLive committed 2025-05-13 12:08:51 +02:00
1 parent 2c9159c25e
commit 640a276afb
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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',
};
+2 -1
View File
@@ -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',
};