mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-03 19:44:27 +02:00
@@ -250,10 +250,14 @@ class HomeView extends AbstractView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cardConfigurations.push(new AreaCard(area).getCard());
|
cardConfigurations.push(
|
||||||
|
new AreaCard(area, {
|
||||||
|
...Registry.strategyOptions.areas['_'],
|
||||||
|
...Registry.strategyOptions.areas[area.area_id],
|
||||||
|
}).getCard(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: The columns are too narrow when having HASS area cards.
|
|
||||||
return {
|
return {
|
||||||
type: 'vertical-stack',
|
type: 'vertical-stack',
|
||||||
title: Registry.strategyOptions.home_view.hidden.includes('areasTitle') ? undefined : localize('generic.areas'),
|
title: Registry.strategyOptions.home_view.hidden.includes('areasTitle') ? undefined : localize('generic.areas'),
|
||||||
|
Reference in New Issue
Block a user