add post commands and reboot
This commit is contained in:
@@ -10,7 +10,8 @@ export type DeviceCommandType =
|
||||
| "ota"
|
||||
| "ring_fence"
|
||||
| "lights"
|
||||
| "camera";
|
||||
| "camera"
|
||||
| "reboot";
|
||||
|
||||
export interface DeviceCommand {
|
||||
id: number;
|
||||
@@ -116,4 +117,4 @@ export async function postCommand(
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify(command),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user