Skip to content

Commit

Permalink
fix(mqtt): fix mqtt schema
Browse files Browse the repository at this point in the history
  • Loading branch information
niklv committed Jun 3, 2024
1 parent 5692289 commit 565cc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schemas/daichi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ export const DaichiControlSchema = z.object({
export const DaichiMqttNotificationSchema = z.object({
devices: z.array(
z.union([
DeviceBaseSchema.extend(DeviceAdditonalFlags),
DeviceWithControlsSchema.extend(DeviceAdditonalFlags)
DeviceWithControlsSchema.extend(DeviceAdditonalFlags),
DeviceBaseSchema.extend(DeviceAdditonalFlags)
])
),
presets: z.array(z.unknown()),
Expand Down

0 comments on commit 565cc67

Please sign in to comment.