From dce4f172cae39643f1bb625fa6a8f82566ab6356 Mon Sep 17 00:00:00 2001 From: Kaloyan Danchev Date: Sat, 24 Oct 2026 12:23:21 +0300 Subject: [PATCH] Add visual config editor for HA tab Self-contained HTML page that connects to HA WebSocket for entity discovery, provides visual editing of rooms/cards/weather/vacuum config, and exports config.json. Hosted from HA's /local/ directory. Co-Authored-By: Claude Opus 4.6 --- ha-home/editor.html | 771 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 771 insertions(+) create mode 100644 ha-home/editor.html diff --git a/ha-home/editor.html b/ha-home/editor.html new file mode 100644 index 0000000..b15c9e3 --- /dev/null +++ b/ha-home/editor.html @@ -0,0 +1,771 @@ + + + + + +Luma Home Config Editor + + + + +

Luma Home Config

+

Visual editor for the Home Assistant tab on your LG TV

+ +
+ + + + + +
+ + +
+
+

Home Assistant Connection

+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+ +
+
+
+
+ Not connected + +
+
+ +
+

Import Existing Config

+

Paste a config.json or load from file to pre-populate the editor.

+
+
+
+
+ + +
+
+ + +
+
+

Weather Card

+

Hero card shown at the top of every room. Leave empty to hide.

+
+
+ + + +
+
+
+
+ + +
+
+

Rooms

+
+ +
+
+
+ + +
+
+

Vacuum Configuration

+
+
+ + + +
+
+ + + +
+
+

Room Segments

+

Map Roborock segment IDs to room names.

+
+ +
+
+ + +
+
+

Generated config.json

+

+ Copy this to ha-home/config.json in your Luma installation, then restart Luma. +

+ +
+
+
+
+
+
+ +
+ + + +