Skip to content

Commit a8a9a1a

Browse files
authored
Update fast-search-card.js
1 parent 218d0e0 commit a8a9a1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dist/fast-search-card.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8123,9 +8123,15 @@ class FastSearchCard extends HTMLElement {
81238123
type: 'config/entity_registry/list'
81248124
});
81258125

8126+
console.log('🐛 DEBUG: Found entities in registry:', allEntities.length);
8127+
console.log('🐛 DEBUG: Looking for label:', this.favoriteLabel);
8128+
81268129
this.favoritesCache.clear();
81278130
allEntities.forEach(entity => {
81288131
const isFav = entity.labels?.includes(this.favoriteLabel) || false;
8132+
if (isFav) {
8133+
console.log('🐛 DEBUG: Found favorite in registry:', entity.entity_id, 'labels:', entity.labels);
8134+
}
81298135
this.favoritesCache.set(entity.entity_id, isFav);
81308136
});
81318137

0 commit comments

Comments
 (0)