How do I automate disabling mobile data on lollipop?
There appears to be an app/widget on XDA that should do what you are asking.

Link to the thread can be found here - 
Link to the app in the play store can be found here

The app is paid and requires root. Hope this helps. =)