Skip to content

Commit 2579fde

Browse files
authored
Update fast-search-card.js
1 parent 0e9afcd commit 2579fde

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

dist/fast-search-card.js

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4343,16 +4343,25 @@ class FastSearchCard extends HTMLElement {
43434343

43444344
.timer-item[data-action-type="dim_50"] .timer-icon-container {
43454345
background: linear-gradient(135deg, #9C27B0, #7B1FA2); /* Lila für 50% */
4346-
}
4347-
4346+
}
4347+
43484348
.timer-item[data-action-type="heat"] .timer-icon-container {
4349-
background: linear-gradient(135deg, #FF5722, #E64A19); /* Rot für Heizen */
4349+
background: linear-gradient(135deg, #FF5722, #E64A19); /* Orange/Rot für Heizen */
43504350
}
43514351

43524352
.timer-item[data-action-type="cool"] .timer-icon-container {
43534353
background: linear-gradient(135deg, #2196F3, #1976D2); /* Blau für Kühlen */
43544354
}
43554355

4356+
.timer-item[data-action-type="dry"] .timer-icon-container {
4357+
background: linear-gradient(135deg, #9C27B0, #7B1FA2); /* Lila für Entfeuchten */
4358+
}
4359+
4360+
.timer-item[data-action-type="fan"] .timer-icon-container {
4361+
background: linear-gradient(135deg, #4CAF50, #388E3C); /* Grün für Lüften */
4362+
}
4363+
4364+
43564365

43574366
/* Timer Content Area */
43584367
.timer-content-area {
@@ -10057,10 +10066,14 @@ class FastSearchCard extends HTMLElement {
1005710066
actionType = 'dim_30';
1005810067
} else if (action.includes('50%')) {
1005910068
actionType = 'dim_50';
10060-
} else if (action.includes('Heizen') || action.includes('22°C')) {
10069+
} else if (action.includes('Heizen')) {
1006110070
actionType = 'heat';
10062-
} else if (action.includes('Kühlen') || action.includes('18°C')) {
10071+
} else if (action.includes('Kühlen')) {
1006310072
actionType = 'cool';
10073+
} else if (action.includes('Entfeuchten')) {
10074+
actionType = 'dry'; // ← NEU
10075+
} else if (action.includes('Lüften')) {
10076+
actionType = 'fan'; // ← NEU
1006410077
} else if (action.includes('Play') || action.includes('Abspielen')) {
1006510078
actionType = 'play';
1006610079
} else if (action.includes('Pause')) {

0 commit comments

Comments
 (0)