Blink w/google assistant and a physical switch

The basic code has already been written for you in Sketch Builder:

This won’t work when your internet is down (but will work if it’s just your phone battery that’s died).
Take a look at @Gunner’s tutorial here for the rest:

Pete.