Fix area type

Paul Bottein 2025-05-26 11:35:39 +02:00
parent 2fcbd540b6
commit 42c322fe15
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export class HuiAreaCard extends LitElement implements LovelaceCard {
hass: HomeAssistant
): Promise<AreaCardConfig> {
const areas = Object.values(hass.areas);
return { type: "area-legacy", area: areas[0]?.area_id || "" };
return { type: "area", area: areas[0]?.area_id || "" };
}
public getCardSize(): number {