

Check out the Sengled A19 Motion Sensor bulb, it does exactly what you want. Set your porch light switch to always-on and the bulb will turn itself on or off with its motion sensor and day-night sensor. Flick your switch off and on twice and the bulb stays on until you turn it back off.

Just finished building a new enclosure for my mud turtle (in my profile) and now I’m finishing up the control panel as a Home Assistant dashboard.