Update config on OP25 changes via webhook
This commit is contained in:
@@ -151,11 +151,13 @@ async def get_status(websocket, request_id):
|
|||||||
@command
|
@command
|
||||||
async def op25_start(websocket):
|
async def op25_start(websocket):
|
||||||
await drb_api.start_op25()
|
await drb_api.start_op25()
|
||||||
|
client_status['op25_status'] = OP25StatusValues.LISTENING
|
||||||
|
|
||||||
# Stop OP25
|
# Stop OP25
|
||||||
@command
|
@command
|
||||||
async def op25_stop(websocket):
|
async def op25_stop(websocket):
|
||||||
await drb_api.stop_op25()
|
await drb_api.stop_op25()
|
||||||
|
client_status['op25_status'] = OP25StatusValues.OFFLINE
|
||||||
|
|
||||||
# Set OP25 Config
|
# Set OP25 Config
|
||||||
@command
|
@command
|
||||||
|
|||||||
Reference in New Issue
Block a user