Merge pull request #12250 from spacegaier/issue-12248

This commit is contained in:
Zack Barett 2022-04-07 14:11:29 -05:00 committed by GitHub
commit 34184cf2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,7 @@ export class HuiAreaCard
.filter(
(entry) =>
!entry.entity_category &&
!entry.hidden_by &&
(entry.area_id
? entry.area_id === areaId
: entry.device_id && devicesInArea.has(entry.device_id))