Skip to content

Commit

Permalink
Command fixed and renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Apr 1, 2018
1 parent 1e04799 commit a47d576
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions miio/wifispeaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ def track_next(self):
"""Move to next track."""
return self.send("next_track")

def channel_next(self):
"""Change transport channel."""
return self.send("next_channel")

def track_position(self):
"""Return current track position."""
return self.send("get_prop", ["rel_time"])

def volume(self):
"""Speaker volume."""
return self.send("get_prop", ["volume"])

def next_channel(self):
"""Change transport channel."""
return self.send(["next_channel"])

0 comments on commit a47d576

Please sign in to comment.