mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-04 20:14:28 +02:00
Merge pull request #47 from AalianKhan/hide-default-domain
Fix hiding default domain
This commit is contained in:
2
dist/mushroom-strategy.js
vendored
2
dist/mushroom-strategy.js
vendored
File diff suppressed because one or more lines are too long
@@ -188,6 +188,7 @@ class MushroomStrategy {
|
||||
}
|
||||
}
|
||||
|
||||
if (!Helper.strategyOptions.domains.default.hidden) {
|
||||
// TODO: Check if default is hidden
|
||||
// Create cards for any other domain.
|
||||
// Collect device entities of the current area.
|
||||
@@ -235,6 +236,7 @@ class MushroomStrategy {
|
||||
cards: miscellaneousCards,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Return cards.
|
||||
return {
|
||||
|
Reference in New Issue
Block a user