Skip to content

Commit 9c7e787

Browse files
authored
Update fast-search-card.js
1 parent b7fec01 commit 9c7e787

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dist/fast-search-card.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12320,13 +12320,16 @@ class FastSearchCard extends HTMLElement {
1232012320

1232112321
try {
1232212322
// Versuche zuerst Amazon Polly
12323-
await this._hass.callService('tts', 'amazon_polly_say', {
12323+
console.log(`🎤 Calling Amazon Polly TTS...`);
12324+
12325+
// ✅ ÄNDERUNG: Nicht auf TTS warten
12326+
this._hass.callService('tts', 'amazon_polly_say', {
1232412327
entity_id: entityId,
1232512328
message: text
1232612329
});
1232712330

12328-
this.updateTTSButtonState('speaking');
1232912331
console.log('✅ Amazon Polly TTS called');
12332+
this.updateTTSButtonState('speaking');
1233012333

1233112334
} catch (error) {
1233212335
console.warn('⚠️ Amazon Polly failed, trying fallback TTS:', error);

0 commit comments

Comments
 (0)