Looking for a corded AND battery-operated motion sensor(?) that triggers failover events

This is what I use