Is there an "inside box" switch (for smart lighting)
First, if you're not familiar with how to do electrical, hire in a handyman.  Most jurisdictions consider swapping a light switch or fixture to not require pulling of a permit/electrician.
Second, make sure that your lighting product is actually safe and certified for use.  That means it will have a listing from UL, ETL, or CSA. Be extremely skeptical of items shipped from either China or an Amazon fulfillment center, or bought on eBay, Amazon Marketplace, DealExtreme, Wish, Banggood, AliExpress etc. Chinese knockoffs have been flooding the market, and they are not safe (and are not legal because they are not safe).
With that resolved, all the competent US products I'm aware of which have smart lights and also a remote switch, have designed the switches to allow mounting in a standard junction box.  It mounts up like a normal switch even though it takes no wires and runs on battery.
So the intended installation is to remove the original switch, tie its two hot wires together (so effectively it's &quot;always on&quot;), and now there is an empty hole where the switch used to be. As I say, the products I've seen are designed to physically fit in that hole and mount up like a standard switch.  The ground wire need not be attached to the battery powered switch, however, if it is a metal box the ground wire must go to the metal box.
The cosmetic cover plate may also need to be changed, ordinary switches take a 1&quot; x 1/2&quot; slot opening, and these smart switches tend to take a 1-1/2&quot; x 3&quot; (-ish) &quot;Decora&quot; plate opening.  These cover plates are readily available at home stores in a variety of colors.