- Add static_color capability to WLED and serial providers with native set_color() dispatch (WLED uses JSON API, serial uses idle client) - Encapsulate device-specific logic in providers instead of device_type checks in ProcessorManager and API routes - Add HAOS light entity for devices with brightness_control + static_color (Adalight/AmbiLED get light entity, WLED keeps number entity) - Fix serial device brightness and turn-off: pass software_brightness through provider chain, clear device on color=null, re-send static color after brightness change - Add global events WebSocket (events-ws.js) replacing per-tab WS, enabling real-time profile state updates on both dashboard and profiles tabs - Fix profile activation: mark active when all targets already running, add asyncio.Lock to prevent concurrent evaluation races, skip process enumeration when no profile has conditions, trigger immediate evaluation on enable/create/update for instant target startup - Add reliable server restart script (restart.ps1) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Set up LED Screen Controller",
|
|
"description": "Enter the URL and API key for your LED Screen Controller server.",
|
|
"data": {
|
|
"server_url": "Server URL",
|
|
"api_key": "API Key"
|
|
},
|
|
"data_description": {
|
|
"server_url": "URL of your LED Screen Controller server (e.g., http://192.168.1.100:8080)",
|
|
"api_key": "API key from your server's configuration file"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to server.",
|
|
"invalid_api_key": "Invalid API key.",
|
|
"unknown": "Unexpected error occurred."
|
|
},
|
|
"abort": {
|
|
"already_configured": "This server is already configured."
|
|
}
|
|
},
|
|
"entity": {
|
|
"switch": {
|
|
"processing": {
|
|
"name": "Processing"
|
|
}
|
|
},
|
|
"sensor": {
|
|
"fps": {
|
|
"name": "FPS"
|
|
},
|
|
"status": {
|
|
"name": "Status",
|
|
"state": {
|
|
"processing": "Processing",
|
|
"idle": "Idle",
|
|
"error": "Error",
|
|
"unavailable": "Unavailable"
|
|
}
|
|
},
|
|
"rectangle_color": {
|
|
"name": "{rectangle_name} Color"
|
|
}
|
|
},
|
|
"number": {
|
|
"brightness": {
|
|
"name": "Brightness"
|
|
}
|
|
},
|
|
"light": {
|
|
"light": {
|
|
"name": "Light"
|
|
}
|
|
}
|
|
}
|
|
}
|