@@ -7329,32 +7329,7 @@ class FastSearchCard extends HTMLElement {
73297329 <!-- ✅ Direkt die Action Presets (größeres Design) -->
73307330 <div class="timer-control-presets timer-action-presets visible" data-is-open="true">
73317331 <div class="timer-control-presets-grid">
7332- <button class="timer-control-preset" data-action="turn_off" title="Ausschalten">
7333- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7334- <path d="M7 13C7.55228 13 8 12.5523 8 12C8 11.4477 7.55228 11 7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44772 13 7 13Z" fill="currentColor" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
7335- <path d="M17 17H7C4.23858 17 2 14.7614 2 12C2 9.23858 4.23858 7 7 7H17C19.7614 7 22 9.23858 22 12C22 14.7614 19.7614 17 17 17Z" stroke="currentColor" stroke-width="1"/>
7336- </svg>
7337- <span class="timer-preset-label">Aus</span>
7338- </button>
7339- <button class="timer-control-preset" data-action="turn_on" title="Einschalten">
7340- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7341- <path d="M17 13C17.5523 13 18 12.5523 18 12C18 11.4477 17.5523 11 17 11C16.4477 11 16 11.4477 16 12C16 12.5523 16.4477 13 17 13Z" fill="currentColor" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
7342- <path d="M17 17H7C4.23858 17 2 14.7614 2 12C2 9.23858 4.23858 7 7 7H17C19.7614 7 22 9.23858 22 12C22 14.7614 19.7614 17 17 17Z" stroke="currentColor" stroke-width="1"/>
7343- </svg>
7344- <span class="timer-preset-label">Ein</span>
7345- </button>
7346- <button class="timer-control-preset" data-action="dim_30" title="30% Helligkeit">
7347- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7348- <path d="M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
7349- </svg>
7350- <span class="timer-preset-label">30%</span>
7351- </button>
7352- <button class="timer-control-preset" data-action="dim_50" title="50% Helligkeit">
7353- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7354- <path d="M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
7355- </svg>
7356- <span class="timer-preset-label">50%</span>
7357- </button>
7332+ ${this.getTimerPresetsForDevice(item)}
73587333 </div>
73597334 </div>
73607335 </div>
@@ -7371,37 +7346,9 @@ class FastSearchCard extends HTMLElement {
73717346
73727347 <!-- Zeitplan Controls -->
73737348 <div class="schedule-control-design" id="schedule-control-${item.id}">
7374- <div class="timer-control-presets schedule-action-presets visible" data-is-open="true">
7375- <!-- Zeitplan Action Presets -->
7376-
7349+ <div class="timer-control-presets schedule-action-presets visible" data-is-open="true">
73777350 <div class="timer-control-presets-grid">
7378- <button class="timer-control-preset" data-action="turn_off" title="Ausschalten">
7379- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7380- <path d="M7 13C7.55228 13 8 12.5523 8 12C8 11.4477 7.55228 11 7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44772 13 7 13Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
7381- <path d="M17 13C17.5523 13 18 12.5523 18 12C18 11.4477 17.5523 11 17 11C16.4477 11 16 11.4477 16 12C16 12.5523 16.4477 13 17 13Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
7382- <path d="M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z" stroke="currentColor"/>
7383- </svg>
7384- <span class="timer-preset-label">Aus</span>
7385- </button>
7386- <button class="timer-control-preset" data-action="turn_on" title="Einschalten">
7387- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7388- <path d="M21 2L9 14L4 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
7389- <circle cx="12" cy="12" r="9" stroke="currentColor"/>
7390- </svg>
7391- <span class="timer-preset-label">Ein</span>
7392- </button>
7393- <button class="timer-control-preset" data-action="dim_30" title="Dimmen 30%">
7394- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7395- <path d="M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
7396- </svg>
7397- <span class="timer-preset-label">30%</span>
7398- </button>
7399- <button class="timer-control-preset" data-action="dim_50" title="Dimmen 50%">
7400- <svg width="24px" height="24px" stroke-width="1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor">
7401- <path d="M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
7402- </svg>
7403- <span class="timer-preset-label">50%</span>
7404- </button>
7351+ ${this.getTimerPresetsForDevice(item)}
74057352 </div>
74067353 </div>
74077354 </div>
0 commit comments