I use my Google assistant and a smart device to operate my barbecue gas
valve, and one of my routines is “Hey Google, I’m done barbecuing” and
it shuts off the gas valve and turns off the light in my outdoor
pergola. It’s worked flawlessly all summer...