If you are using Google home, then the video Joao suggested won't help you much. You could also use the suggestion he made about having your phone say "Hey Google", pause "do action", but that's a pain in the butt sometimes, especially if you aren't home and want your lights to turn on automatically when you connect to your wifi but haven't gotten in the house yet.
Your best bet will likely be a combination of IFTTT.com and Tasker. I've got somewhere in the vicinity of 18 smart devices (and growing) and Tasker just can't control them on it's own. IFTTT is a pay site (very reasonably priced once you understand the power and it has a growing vendor database of compatible devices. Once you get the flow of the system (a little confusing, but there is good help out there), then you can really go to town with commands and tricks that Tasker just isn't capable of on its own.
Thanks,
Steve