@@ -11247,7 +11247,6 @@ class FastSearchCard extends HTMLElement {
1124711247 const resultsDiv = container.querySelector('.actions-results');
1124811248 this.renderActionResults(relatedActions, resultsDiv, filter);
1124911249
11250- console.log(`✅ Filtered to show: ${filter}`);
1125111250 }
1125211251
1125311252 // 🎯 LOAD RELATED ACTIONS - Echte Discovery
@@ -11364,7 +11363,6 @@ class FastSearchCard extends HTMLElement {
1136411363 if (scriptsChip) scriptsChip.textContent = relatedActions.scripts.length;
1136511364 if (automationsChip) automationsChip.textContent = relatedActions.automations.length;
1136611365
11367- console.log(`📊 Action counts: Total(${totalCount}), Favorites(${favoritesCount})`);
1136811366 }
1136911367
1137011368 // 🎯 FIND RELATED SCENES
@@ -11644,32 +11642,6 @@ class FastSearchCard extends HTMLElement {
1164411642 return categoryMap[domain] || 'devices';
1164511643 }
1164611644
11647- // 🎯 SWITCH TO CATEGORY
11648- /*
11649- switchToCategory(targetCategory) {
11650- console.log(`🔄 Switching to category: ${targetCategory}`);
11651-
11652- // Update activeCategory
11653- this.activeCategory = targetCategory;
11654-
11655- // Update category buttons
11656- const categoryButtons = this.shadowRoot.querySelectorAll('.category-btn');
11657- categoryButtons.forEach(btn => {
11658- btn.classList.remove('active');
11659- if (btn.dataset.category === targetCategory) {
11660- btn.classList.add('active');
11661- }
11662- });
11663-
11664- // Update placeholder und icon
11665- this.updateCategoryIcon();
11666- this.updatePlaceholder();
11667-
11668- // Show items for new category
11669- this.showCurrentCategoryItems();
11670- }
11671- */
11672-
1167311645 // 🎯 TRIGGER ACTION
1167411646 triggerAction(actionId) {
1167511647 const domain = actionId.split('.')[0];
0 commit comments