The smartest thing is having a light switch you walk over to. Doesn’t fail randomly, doesn’t need an internet connection to operate, doesn’t stop working when your internet is down.
My garage remote is in a PIN number lock box next to the garage. Open lock box, press remote, close lock box.
That’s smart.