Setting an automatic light switch means either wiring a motion-sensor wall switch or pairing a smart switch with an app for schedule, daylight, or motion triggers.
For the full breakdown, see our best Auto-Off Light Switch guide.
Automatic light switches fall into two camps, and the setup path depends on which one you bought. A hardwired motion-sensor switch replaces your existing wall switch and needs basic electrical work. A smart Wi‑Fi switch does the same job but leans on an app plus motion or schedule automations. Both start with the same grounding step: kill the power before you touch anything.
Where you install it matters too. Most motion-sensor switches only work in single-pole setups — one switch controlling one light — so a three-way hallway setup may not be compatible.
Choosing Between Hardwired and Smart Automation
Your first decision is device type, because installation differs completely. Hardwired motion-sensor switches replace the physical switch and wire directly into your electrical box. Smart switches also replace the switch, but they add app pairing, voice control, and schedule automations that hardwired timers lack.
Consider what you need:
- Hands-free convenience — motion-sensor switches handle hallways, closets, and bathrooms without any app use.
- Schedules and remote control — smart Wi‑Fi switches like the TP-Link Kasa line offer app timers, away modes, and Alexa or Google Assistant voice control.
- No neutral wire — some Lutron motion-sensor switches work without a neutral wire, which matters in older homes.
If you are weighing models before buying, our tested roundup of the top auto-off light switches compares the options that actually hold up in daily use.
Installing a Hardwired Motion-Sensor Switch
Hardwired installation follows the same sequence whether you choose a Lutron Maestro or another motion-sensor switch: cut power, match wires, connect, and test.
- Turn off power at the circuit breaker. Lutron’s Maestro manual is explicit here — cut power before opening the wall box. A voltage tester confirms the circuit is dead.
- Remove the existing switch plate and switch. Unscrew the faceplate, then pull the switch out carefully so you can see the wiring.
- Identify line and load wires. The line wire carries power from the breaker; the load wire runs to the light. Mixing them up causes malfunction, so label them before disconnecting.
- Wire the new switch. Match each wire to the correct terminal on the motion-sensor switch, following the diagram that came with it. Secure connections and tuck the wires into the box.
- Mount the switch and restore power. Fasten the switch to the box, reattach the faceplate, then flip the breaker back on.
- Test the motion trigger. Walk across the room — the light should turn on and stay on while motion continues, then shut off after the built-in timeout.
Success looks like this: the light responds to movement within a few seconds, and the switch’s LED indicator (where fitted) shows the circuit is live.
Wiring Compatibility: Neutral, Ground, and Single-Pole Limits
The biggest installation mistake is buying a switch your wiring can’t support. Compatibility comes down to three factors, and they vary by model:
| Requirement | Kasa KS200M | Lutron Maestro |
|---|---|---|
| Neutral wire | Required | Not required |
| Ground wire | Standard | Required |
| Installation type | Single-pole only | Single-pole only |
| Wireless | 2.4GHz Wi‑Fi | None |
If your electrical box lacks a neutral wire, the Kasa KS200M won’t work — the Lutron Maestro is the safer pick. And if you have a three-way setup (two switches controlling one light), neither of these single-pole switches fits without rewiring.
Setting Up App-Based Smart Automations
Once a smart switch is wired and powered, the app does the rest. The Kasa KS200M works without a hub and pairs directly with the Kasa app over 2.4GHz Wi‑Fi, then connects to Alexa or Google Assistant.
Setting up a motion automation takes a few minutes:
- Pair the switch in the manufacturer app. Put the switch in pairing mode and follow the in-app steps.
- Open the automations section. Look for “Automations” or “Scenes,” depending on the app.
- Create a trigger. Choose the switch’s motion sensor or its on/off state as the trigger condition.
- Assign the action. Set the target light to turn on, then save the automation. Repeat the process for an OFF automation when motion stops.
A common expectation trap: motion sensors respond to movement, not presence. A sensor that detects someone walking across a room may not register someone sitting still at a desk. If you need lights to stay on during long stationary work, pair the motion automation with a schedule or a longer timeout setting. The Kasa KS200M motion-activated switch page details how its sensor is tuned for bedrooms, hallways, and bathrooms, where movement is the norm.
Before buying or installing, decide whether motion detection or schedule automation matters more — then check your wiring. The Lutron Maestro suits older homes without neutrals, while the Kasa KS200M fits homes with standard wiring and voice-assistant setups. Once you know your box’s wiring, the install is straightforward and the payoff is real: lights that handle themselves. For a closer look at which auto-off switch models are worth your money, see our guide to the best automatic light switches.
References & Sources
- TP-Link Kasa. “Kasa Smart Wi‑Fi Light Switch, Motion-Activated (KS200M).” Official product page detailing motion activation, single-pole wiring, neutral requirement, and voice-assistant support.
- Lutron Maestro. “Maestro Motion Sensor Switch.” Manufacturer guidance covering single-pole installation, ground-wire requirement, and no-neutral operation.

