feat: add homeassistant integration (#578)

This commit is contained in:
Manuel authored and GitHub committed 2024-06-10 21:16:39 +02:00
1 parent 19498854fc
commit 2e782ae442
28 files changed
+468 -31

No files matched your search

+1 -1
View File
@@ -1,11 +1,11 @@
import { TRPCError } from "@trpc/server";
import { decryptSecret } from "@homarr/common";
import { and, eq, inArray } from "@homarr/db";
import { integrations } from "@homarr/db/schema/sqlite";
import type { IntegrationKind } from "@homarr/definitions";
import { z } from "@homarr/validation";
import { decryptSecret } from "../router/integration";
import { publicProcedure } from "../trpc";
export const createOneIntegrationMiddleware = <TKind extends IntegrationKind>(...kinds: TKind[]) => {