fix: Clarify logic for matching AC and heater adjustments in synchronization

This commit is contained in:
Aaron 2025-11-14 20:49:51 -05:00
parent 6128e585b8
commit e5f9331d30

View File

@ -1539,8 +1539,8 @@ document.addEventListener('DOMContentLoaded', function() {{
if (isNaN(hv) || isNaN(av)) continue; if (isNaN(hv) || isNaN(av)) continue;
if (hv > av) {{ if (hv > av) {{
if (last && last.value === 'ac') {{ h.value = av; }} if (last && last.value === 'ac') {{ h.value = av; }} // AC lowered match heat down
else {{ a.value = hv; }} else {{ a.value = hv; }} // Heat raised match AC up
}} }}
}} }}
}}); }});