Skip to content

Commit

Permalink
Fix atvremote action enum
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOwl authored Oct 1, 2024
1 parent a613c29 commit acced13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyatv/scripts/atvremote.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,12 +840,12 @@ def _parse_args(cmd, args):
"select",
"menu",
"home",
"touch_click",
"click",
]:
return [InputAction(args[0])]
if cmd == "set_volume":
return [float(args[0])]
if cmd == "touch_action":
if cmd == "action":
return [args[0], args[1], TouchAction(args[2])]
return args

Expand Down

0 comments on commit acced13

Please sign in to comment.