deploy: fix swagger title, change request body command

This commit is contained in:
2025-10-14 11:40:32 +07:00
parent 33eb554cf8
commit c5545ddde2
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ export const deviceCommandBody = z.object({
timestamp: z.string().datetime(), // ISO8601
nonce: z.string(),
payload: z.object({
AC: z.string(),
Temp: z.number(),
action: z.enum(['on', 'off', 'set']),
temp: z.number().optional(),
}),
signature: z.string(),
})