Update config on OP25 changes via webhook

This commit is contained in:
Logan Cusano
2025-05-25 23:50:03 -04:00
parent 3393061b37
commit ffec7e2045

View File

@@ -151,11 +151,13 @@ async def get_status(websocket, request_id):
@command
async def op25_start(websocket):
await drb_api.start_op25()
client_status['op25_status'] = OP25StatusValues.LISTENING
# Stop OP25
@command
async def op25_stop(websocket):
await drb_api.stop_op25()
client_status['op25_status'] = OP25StatusValues.OFFLINE
# Set OP25 Config
@command