diff --git a/custom_components/smartir/media_player.py b/custom_components/smartir/media_player.py index 170dbf07..93ceee71 100644 --- a/custom_components/smartir/media_player.py +++ b/custom_components/smartir/media_player.py @@ -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."""