Add Adalight serial LED device support with per-type discovery and capability-based UI

Implements the second device provider (Adalight) for Arduino-based serial LED controllers,
validating the LEDDeviceProvider abstraction. Adds serial port auto-discovery, per-type
discovery caching with lazy-load, capability-driven UI (brightness control, manual LED count,
standby), and serial port combobox in both Add Device and General Settings modals.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 15:55:42 +03:00
parent 242718a9a9
commit 1612c04c90
13 changed files with 678 additions and 76 deletions

View File

@@ -397,6 +397,16 @@ section {
background: var(--border-color);
white-space: nowrap;
}
.discovery-type-badge {
font-size: 10px;
padding: 1px 5px;
border-radius: 3px;
background: var(--primary-color);
color: #fff;
font-weight: 600;
vertical-align: middle;
margin-right: 2px;
}
.modal-divider {
border: none;
border-top: 1px solid var(--border-color);
@@ -1244,7 +1254,7 @@ input:-webkit-autofill:focus {
position: relative;
width: 100%;
aspect-ratio: 16 / 9;
margin: 40px auto 20px;
margin: 40px auto 40px;
background: var(--card-bg);
border: 2px solid var(--border-color);
border-radius: 8px;