Mobile smart-home apps let you stack automations — a geofence rule that turns a light on when you get home, a dusk-to-dawn schedule that turns it on at night — and real automation engines (HomeKit, SmartThings, IFTTT) have to decide what happens when two independently-authored rules disagree about the same device at the same moment. This simulator renders one house, one light and a phone whose GPS position jitters near a geofence boundary while a fast simulated clock cycles day into night. Watch how an unprotected "last write wins" engine flaps the light on and off dozens of times as noisy location fixes cross the fence, then fix it two different real ways: pick which rule has priority, or add a hysteresis debounce timer that requires a candidate state to hold steady before it's committed — the same trade-off every consumer automation platform ships with.