From 3c2efd5e4a3ca6108aa0a992b1e2601c08dd2c21 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Fri, 27 Mar 2026 23:21:40 +0300 Subject: [PATCH] refactor: move Weather and Home Assistant sources to Integrations tree group Separates external service connections from utility entities in the Streams tree navigation for clearer organization. --- server/src/wled_controller/static/js/features/streams.ts | 9 +++++++-- server/src/wled_controller/static/locales/en.json | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/server/src/wled_controller/static/js/features/streams.ts b/server/src/wled_controller/static/js/features/streams.ts index ad7c3ed..5e7d8df 100644 --- a/server/src/wled_controller/static/js/features/streams.ts +++ b/server/src/wled_controller/static/js/features/streams.ts @@ -621,13 +621,18 @@ function renderPictureSourcesList(streams: any) { { key: 'audio_templates', titleKey: 'tree.leaf.templates', icon: ICON_AUDIO_TEMPLATE, count: _cachedAudioTemplates.length }, ] }, + { + key: 'integrations_group', icon: `${P.wifi}`, titleKey: 'tree.group.integrations', + children: [ + { key: 'weather', titleKey: 'streams.group.weather', icon: `${P.cloudSun}`, count: _cachedWeatherSources.length }, + { key: 'home_assistant', titleKey: 'streams.group.home_assistant', icon: `${P.home}`, count: _cachedHASources.length }, + ] + }, { key: 'utility_group', icon: ICON_WRENCH, titleKey: 'tree.group.utility', children: [ { key: 'value', titleKey: 'streams.group.value', icon: ICON_VALUE_SOURCE, count: _cachedValueSources.length }, { key: 'sync', titleKey: 'streams.group.sync', icon: ICON_CLOCK, count: _cachedSyncClocks.length }, - { key: 'weather', titleKey: 'streams.group.weather', icon: `${P.cloudSun}`, count: _cachedWeatherSources.length }, - { key: 'home_assistant', titleKey: 'streams.group.home_assistant', icon: `${P.home}`, count: _cachedHASources.length }, { key: 'assets', titleKey: 'streams.group.assets', icon: ICON_ASSET, count: _cachedAssets.length }, ] } diff --git a/server/src/wled_controller/static/locales/en.json b/server/src/wled_controller/static/locales/en.json index e9e3405..3484b34 100644 --- a/server/src/wled_controller/static/locales/en.json +++ b/server/src/wled_controller/static/locales/en.json @@ -1433,6 +1433,7 @@ "tree.group.processing": "Processed", "tree.group.strip": "Color Strip", "tree.group.audio": "Audio", + "tree.group.integrations": "Integrations", "tree.group.utility": "Utility", "tree.leaf.sources": "Sources", "tree.leaf.engine_templates": "Engine Templates",