There is an app called Google Home Helper that will allow you to trigger a routine using a virtual switch.