Merge pull request #47 from AalianKhan/hide-default-domain

Fix hiding default domain
This commit is contained in:
Aalian Khan
2023-09-12 07:34:31 -04:00
committed by GitHub
2 changed files with 48 additions and 46 deletions

File diff suppressed because one or more lines are too long

View File

@@ -188,6 +188,7 @@ class MushroomStrategy {
} }
} }
if (!Helper.strategyOptions.domains.default.hidden) {
// TODO: Check if default is hidden // TODO: Check if default is hidden
// Create cards for any other domain. // Create cards for any other domain.
// Collect device entities of the current area. // Collect device entities of the current area.
@@ -235,6 +236,7 @@ class MushroomStrategy {
cards: miscellaneousCards, cards: miscellaneousCards,
}); });
} }
}
// Return cards. // Return cards.
return { return {