File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8192,16 +8192,22 @@ class FastSearchCard extends HTMLElement {
81928192 const activeSchedules = parentContainer.querySelector('.active-schedules');
81938193
81948194 if (timerControls) timerControls.style.display = '';
8195- if (activeTimers) timerControls .style.display = '';
8195+ if (activeTimers) activeTimers .style.display = ''; // ← Das war falsch!
81968196 if (scheduleControls) scheduleControls.style.display = '';
81978197 if (activeSchedules) activeSchedules.style.display = '';
81988198
81998199 // Reset alle preset buttons
82008200 const allPresets = parentContainer.querySelectorAll('.timer-control-preset');
82018201 allPresets.forEach(p => p.classList.remove('active'));
82028202
8203+ // Lade aktive Timer neu
8204+ const entityId = parentContainer.closest('[data-entity-id]')?.dataset.entityId;
8205+ if (entityId) {
8206+ this.loadActiveTimers(entityId);
8207+ }
8208+
82038209 console.log('✅ Minimal Time Picker geschlossen');
8204- }
8210+ }
82058211
82068212
82078213
You can’t perform that action at this time.
0 commit comments