File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
TankAlarm-112025-Server-BluesOpta Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,6 @@ static const char CONFIG_GENERATOR_HTML[] PROGMEM = R"HTML(
577577 border-radius: 6px;
578578 font-size: 0.75rem;
579579 font-weight: 400;
580- white-space: nowrap;
581580 max-width: 280px;
582581 white-space: normal;
583582 z-index: 100;
@@ -803,9 +802,9 @@ static const char CONFIG_GENERATOR_HTML[] PROGMEM = R"HTML(
803802 const addBtn = card.querySelector('.add-alarm-btn');
804803 alarmSection.classList.remove('visible');
805804 addBtn.classList.remove('hidden');
806- // Reset alarm values
807- card.querySelector('.high-alarm').value = '';
808- card.querySelector('.low-alarm').value = '';
805+ // Reset alarm values to defaults
806+ card.querySelector('.high-alarm').value = '100 ';
807+ card.querySelector('.low-alarm').value = '20 ';
809808 };
810809
811810 window.toggleRelaySection = function(id) {
You can’t perform that action at this time.
0 commit comments