Fix applying custom area configuration

Closes #200, #202.
This commit is contained in:
DigiLive committed 2025-05-13 22:29:03 +02:00
1 parent 8e80a6e71e
commit 101538067e
1 file changed
+6 -2
+6 -2
View File
@@ -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 {
type: 'vertical-stack',
title: Registry.strategyOptions.home_view.hidden.includes('areasTitle') ? undefined : localize('generic.areas'),