Add rb option to deploy script and update sensors endpoint path
This commit is contained in:
@@ -120,7 +120,7 @@ async def websocket_endpoint(websocket: WebSocket):
|
||||
# Original Dashboard API Endpoints
|
||||
|
||||
# Sensor Management
|
||||
@app.get("/sensors")
|
||||
@app.get("/sensors/get")
|
||||
async def get_sensors(
|
||||
room: Optional[str] = Query(None, description="Filter by room"),
|
||||
sensor_type: Optional[SensorType] = Query(None, description="Filter by sensor type"),
|
||||
|
||||
Reference in New Issue
Block a user