Skip to content

Commit 218d0e0

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dist/fast-search-card.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8027,6 +8027,14 @@ class FastSearchCard extends HTMLElement {
80278027
});
80288028

80298029
console.log('🐛 DEBUG: WebSocket API result:', result);
8030+
console.log('🐛 DEBUG: Full entity_entry:', JSON.stringify(result.entity_entry, null, 2));
8031+
8032+
// Zusätzlich: Prüfe die aktuellen Labels der Entität
8033+
const currentEntity = this._hass.states[item.id];
8034+
console.log('🐛 DEBUG: Current entity from states:', currentEntity);
8035+
console.log('🐛 DEBUG: Current entity attributes:', currentEntity?.attributes);
8036+
console.log('🐛 DEBUG: Current entity labels:', currentEntity?.attributes?.labels);
8037+
80308038
console.log('💖 Added to favorites:', item.name);
80318039
this.favoritesCache.set(item.id, true);
80328040
}

0 commit comments

Comments
 (0)