A bit more complex once you add in the possibility that @thebearmay mentioned about the user turning the device off and back on, but still not too bad. This app should handle any combination of things you want in that regard:
You will probably want to configure it something like this:
That being said, Basic Rule can probably do this with only a few more clicks nowadays, but if you're setting up a lot (like I was before I wrote this), it's definitely a lot easier than a Rule per switch.