This commit is contained in:
Mateusz Gruszczyński
2026-09-04 11:00:15 +02:00
parent 8152e63d63
commit 236540e0f0
27 changed files with 557 additions and 102 deletions
+4
View File
@@ -204,6 +204,10 @@ pub fn router(state: AppState) -> Router {
.route_layer(middleware::from_fn_with_state(state.clone(), auth));
let home_assistant_api = Router::new()
.route(
"/api/integrations/home-assistant/snapshot",
get(home_assistant_snapshot),
)
.route(
"/api/integrations/home-assistant/devices",
get(list_devices),