hide thread configuration (for now)

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2026-01-01 17:40:23 +01:00
parent a66c48e713
commit ee587f1381
4 changed files with 135 additions and 5 deletions

View File

@@ -41,13 +41,18 @@ document.addEventListener('touchend', (e) => {
}, false);
// Initialization
document.addEventListener('DOMContentLoaded', () => {
document.addEventListener('DOMContentLoaded', async () => {
initI18n();
initTheme();
await initCapabilities();
initWebSocket();
updateConnectionStatus();
loadScenes();
loadPairedDevices();
// Only load scenes and devices if thread is enabled
if (isThreadEnabled()) {
loadScenes();
loadPairedDevices();
}
// WiFi status polling (less frequent)
setInterval(updateConnectionStatus, 30000);
});