diff --git a/src/tools/server/sdk/homeassistant/models/EntityState.ts b/src/tools/server/sdk/homeassistant/models/EntityState.ts index 09eb9b2f2..167a8aaf0 100644 --- a/src/tools/server/sdk/homeassistant/models/EntityState.ts +++ b/src/tools/server/sdk/homeassistant/models/EntityState.ts @@ -2,7 +2,7 @@ import { z } from 'zod'; export const entityStateSchema = z.object({ - attributes: z.record(z.union([z.string(), z.number(), z.boolean(), z.null()])), + attributes: z.record(z.union([z.string(), z.number(), z.boolean(), z.null(), z.array(z.union([z.string(),z.number()]))])), entity_id: z.string(), last_changed: z.string().pipe(z.coerce.date()), last_updated: z.string().pipe(z.coerce.date()),