Expose device brightness as HA number entity

Add a Number platform to the HAOS integration so each LED target
with a brightness-capable device gets a 0-255 slider in Home
Assistant. Coordinator now fetches device list and brightness on
each poll cycle. Also enable chart animation in perf-charts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 01:59:15 +03:00
parent aa57ce763a
commit 81afa6cfaf
7 changed files with 191 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ function _createChart(canvasId, color, fillColor) {
options: {
responsive: true,
maintainAspectRatio: false,
animation: false,
animation: true,
plugins: { legend: { display: false }, tooltip: { enabled: false } },
scales: {
x: { display: false },