feat: Add out of the box support for Reolink PTZ (#1982)
- Closes: #1964
This commit is contained in:
@@ -116,7 +116,7 @@ export class MenuController {
|
||||
|
||||
if (toggleLessActions.length) {
|
||||
dispatchActionExecutionRequest(this._host, {
|
||||
action: actions,
|
||||
actions: actions,
|
||||
config: config,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ export class PTZController {
|
||||
const action = getActionConfigGivenAction(interaction, config);
|
||||
if (action) {
|
||||
dispatchActionExecutionRequest(this._host, {
|
||||
action: action,
|
||||
actions: action,
|
||||
...(config && { config: config }),
|
||||
});
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ export class StatusBarController {
|
||||
}
|
||||
|
||||
dispatchActionExecutionRequest(this._host, {
|
||||
action: arrayify(action),
|
||||
actions: arrayify(action),
|
||||
config: config,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user