deploy: change method to get status from device
This commit is contained in:
@@ -13,8 +13,7 @@ export const deviceCommandBody = z.object({
|
||||
timestamp: z.string().datetime(), // ISO8601
|
||||
nonce: z.string(),
|
||||
payload: z.object({
|
||||
action: z.enum(['on', 'off', 'set']),
|
||||
temp: z.number().optional(),
|
||||
action: z.string(),
|
||||
}),
|
||||
signature: z.string(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user