Load actuator suggestions asynchronously

This commit is contained in:
2026-06-16 12:14:51 +02:00
parent 1b2b76455a
commit faf4099756
5 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 0.7.14 - 2026-06-16
- Onboarding-Vorschläge laden im Dashboard nachgelagert, damit Status,
Aktor-Auswahl und bestehende Geräte nicht auf Automation-Discovery warten.
## 0.7.13 - 2026-06-16
- Diagnose-/Schutzsensoren wie Überhitzung und Überlast werden nicht mehr nur
wegen gleicher Strom-/Monitoring-Bereiche automatisch als Lichtkontext

View File

@@ -1,5 +1,5 @@
name: SillyHome Next
version: "0.7.13"
version: "0.7.14"
slug: sillyhome_next
description: Lernt automatisch aus deinem Verhalten und steuert freigegebene Aktoren
url: http://192.168.6.31:3000/pino/sillyhome-next

View File

@@ -102,7 +102,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.13",
version="0.7.14",
lifespan=lifespan,
)
app.state.settings = load_settings()

View File

@@ -305,11 +305,8 @@ async function loadOverview() {
status.innerHTML = `<p class="bad">${escapeHtml(error.message)}</p>`;
chips.innerHTML = "";
}
await Promise.all([
loadActuatorDiscovery(),
loadActuatorSuggestions(),
loadConfiguredActuators(),
]);
await Promise.all([loadActuatorDiscovery(), loadConfiguredActuators()]);
void loadActuatorSuggestions();
}
async function loadActuatorDiscovery() {

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "sillyhome-next"
version = "0.7.13"
version = "0.7.14"
description = "Lokales Smart-Home-Intelligenzsystem für Home Assistant"
requires-python = ">=3.11"
dependencies = [