update: Major Overhaul to all subsystems
This commit is contained in:
@@ -84,3 +84,15 @@ class CommandSendResponse(BaseModel):
|
||||
success: bool
|
||||
command_id: int
|
||||
message: str
|
||||
|
||||
|
||||
class DeviceAlertEntry(BaseModel):
|
||||
device_serial: str
|
||||
subsystem: str
|
||||
state: str
|
||||
message: Optional[str] = None
|
||||
updated_at: str
|
||||
|
||||
|
||||
class DeviceAlertsResponse(BaseModel):
|
||||
alerts: List[DeviceAlertEntry]
|
||||
|
||||
Reference in New Issue
Block a user