Skip to content

Commit

Permalink
change pass of empty send_command argument
Browse files Browse the repository at this point in the history
  • Loading branch information
litinoveweedle committed Jun 11, 2024
1 parent cd0446d commit 0940b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/smartir/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ def extra_state_attributes(self):

async def async_turn_off(self):
"""Turn the media player off."""
await self._send_command(STATE_OFF, [[]])
await self._send_command(STATE_OFF, [])

async def async_turn_on(self):
"""Turn the media player off."""
await self._send_command(STATE_ON, [[]])
await self._send_command(STATE_ON, [])

async def async_media_previous_track(self):
"""Send previous track command."""
Expand Down

0 comments on commit 0940b6b

Please sign in to comment.