Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

preserve smart home toggle response

Thomas Camlong7652eb8c1c12
diff --git a/packages/api/src/router/widgets/smart-home.ts b/packages/api/src/router/widgets/smart-home.ts
index 93f4f0d0b..6efa16c9c 100644
--- a/packages/api/src/router/widgets/smart-home.ts
+++ b/packages/api/src/router/widgets/smart-home.ts
@@ -48,6 +48,8 @@ export const smartHomeRouter = createTRPCRouter({
message: "Home Assistant failed to toggle the entity",
});
}
+
+ return success;
}),
executeAutomation: protectedProcedure
.meta({