Skip to content

Commit

Permalink
Fixing led struct
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiro committed Aug 1, 2024
1 parent a3ac1d0 commit 86c605a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/tapoCamera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -650,10 +650,8 @@ export class TAPOCamera extends OnvifCamera {
{
method: "getLedStatus",
params: {
led_status: {
config: {
enabled: "on",
},
led: {
name: "config",
},
},
},
Expand Down
6 changes: 2 additions & 4 deletions src/types/tapo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ export type TAPOCameraGetRequest =
| {
method: "getLedStatus";
params: {
led_status: {
config: {
enabled: "on" | "off";
};
led: {
name: "config";
};
};
};
Expand Down

0 comments on commit 86c605a

Please sign in to comment.