preserve smart home toggle response
This commit is contained in:
1 file changed
+2
@@ -48,6 +48,8 @@ export const smartHomeRouter = createTRPCRouter({
|
|||||||
message: "Home Assistant failed to toggle the entity",
|
message: "Home Assistant failed to toggle the entity",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return success;
|
||||||
}),
|
}),
|
||||||
executeAutomation: protectedProcedure
|
executeAutomation: protectedProcedure
|
||||||
.meta({
|
.meta({
|
||||||
|
|||||||
Reference in new issue
Block a user