diff --git a/CHANGELOG.md b/CHANGELOG.md index a916bb7..f0d5780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.7.20 - 2026-06-17 +- Dashboard-Übersicht ist kompatibel mit dem leichten Summary-Format und greift + nicht mehr auf `record.behavior.status` aus dem Vollformat zu. + ## 0.7.19 - 2026-06-17 - Dashboard-Übersicht nutzt einen leichten `/v1/actuators/summary`-Endpunkt statt voller Lernmuster und kompletter HA-Entityliste. diff --git a/addon/config.yaml b/addon/config.yaml index f8da4d9..351d7c1 100644 --- a/addon/config.yaml +++ b/addon/config.yaml @@ -1,5 +1,5 @@ name: SillyHome Next -version: "0.7.19" +version: "0.7.20" slug: sillyhome_next description: Lernt automatisch aus deinem Verhalten und steuert freigegebene Aktoren url: http://192.168.6.31:3000/pino/sillyhome-next diff --git a/app/main.py b/app/main.py index 2cadd11..7bee66a 100644 --- a/app/main.py +++ b/app/main.py @@ -105,7 +105,7 @@ async def lifespan(app: FastAPI) -> AsyncIterator[None]: app = FastAPI( title="SillyHome Next API", description="Lokales Smart-Home-Intelligenzsystem für Home Assistant.", - version="0.7.19", + version="0.7.20", lifespan=lifespan, ) app.state.settings = load_settings() diff --git a/app/static/index.html b/app/static/index.html index ed47a9c..a329d8a 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -553,7 +553,7 @@ function renderConfiguredActuators() {
${escapeHtml(entity.friendly_name || record.actuator_entity_id)}
${escapeHtml(record.actuator_entity_id)}
-
${escapeHtml(behaviorLabel(record))}
+
${escapeHtml(behaviorLabel(record))}
${escapeHtml(lifecycleLabel(record))} diff --git a/pyproject.toml b/pyproject.toml index 30d75cb..c9b0c94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "sillyhome-next" -version = "0.7.19" +version = "0.7.20" description = "Lokales Smart-Home-Intelligenzsystem für Home Assistant" requires-python = ">=3.11" dependencies = [ diff --git a/tests/test_dashboard.py b/tests/test_dashboard.py index 8ef80cd..a65efa9 100644 --- a/tests/test_dashboard.py +++ b/tests/test_dashboard.py @@ -32,5 +32,7 @@ def test_dashboard_is_served_at_root() -> None: assert "Kein frischer passender Sensorwechsel erkannt" in response.text assert "Vorhersage jetzt prüfen" not in response.text assert "record.behavior.activation_ready" in response.text + assert "record.behavior.status ===" not in response.text + assert "record.behavior_status || record.behavior?.status" in response.text assert "Automation-Entwurf" not in response.text assert "Manuelle Overrides" not in response.text