Skip to content

Commit 54c114e

Browse files
authored
Update fast-search-card.js
1 parent b2aa367 commit 54c114e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dist/fast-search-card.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10203,10 +10203,22 @@ class FastSearchCard extends HTMLElement {
1020310203
match = presetHTML.match(/data-action="dim_50"[^>]*>(.*?)<\/button>/s);
1020410204
console.log('🔍 Match gefunden:', !!match);
1020510205

10206+
1020610207
// Climate Actions
1020710208
} else if (action.includes('24°C') || action.includes('Heizen')) {
10209+
console.log('🔍 Climate 24°C erkannt');
10210+
console.log('🔍 currentDetailItem:', this.currentDetailItem);
10211+
1020810212
presetHTML = this.getClimateTimerPresets(this.currentDetailItem);
10213+
console.log('🔍 Climate PresetHTML Länge:', presetHTML.length);
10214+
console.log('🔍 Climate PresetHTML enthält heat_24:', presetHTML.includes('data-action="heat_24"'));
10215+
1020910216
match = presetHTML.match(/data-action="heat_24"[^>]*>(.*?)<\/button>/s);
10217+
console.log('🔍 Climate Match gefunden:', !!match);
10218+
if (match) {
10219+
console.log('🔍 Climate Match[1]:', match[1]);
10220+
}
10221+
1021010222
} else if (action.includes('22°C') || action.includes('Kühlen')) {
1021110223
presetHTML = this.getClimateTimerPresets(this.currentDetailItem);
1021210224
match = presetHTML.match(/data-action="cool_22"[^>]*>(.*?)<\/button>/s);

0 commit comments

Comments
 (0)