Tweak room title
Deploy HEOS panel / deploy (push) Successful in 26s

This commit is contained in:
franzz committed 2026-09-18 13:58:15 +02:00
1 parent 94f4feeac1
commit fcfb14e7ad
3 files changed
+9 -20

No files matched your search

-3
View File
@@ -53,7 +53,6 @@ els('[data-icon]').forEach((svg) => paintIcon(svg, ICONS[svg.dataset.icon]));
const ui = {
foot: el('[data-role="foot"]'),
toast: el('[data-role="toast"]'),
avrStatus: el('[data-role="avr-status"]'),
inputButton: el('[data-role="input-button"]'),
inputName: el('[data-role="input-name"]'),
inputIcon: el('[data-role="input-icon"]'),
@@ -770,8 +769,6 @@ function render(state) {
currentInput = avr.input || null;
ui.inputName.textContent = currentInput ? currentInput.name : '—';
setInputIcon(currentInput ? currentInput.code : null);
ui.avrStatus.textContent = avr.connected ? 'ready' : 'offline';
ui.avrStatus.classList.toggle('on', Boolean(avr.connected));
avrNowPlaying = avr.now_playing || null;
renderTrack(avrNowPlaying, avrTrack);
paintGrouping(); // after avrNowPlaying, which decides where the AVR's card sits