I have a basic doorbell that I wanted to keep, but to somehow integrate with Hubitat to detect when it's pressed. Originally I was hoping to find a sensor that I could put inline to see if current was detected, but couldn't find anything. I ended up using an extra Aqara Door Sensor (without its magnet) and putting it next to the wire coil in the chime that drives a solenoid to strike its bell (the coil turns into an electric magnet).
For testing I had it toggle a light when the sensor was "opened" (the electromagnet was no longer detected). It worked but ended up creating a strobe light as that coil must be quickly turning on and off.
Is there a way I could customize a driver (the one I'm using is at: raw.githubusercontent dot com/veeceeoh/xiaomi-hubitat/master/devicedrivers/xiaomi-door-window-sensor-hubitat.src/xiaomi-door-window-sensor-hubitat.groovy ) so it only goes off once in a set time limit, like maybe 10 seconds. That way, regardless of how many times it was turned off or on in 10 seconds, it would only detect it as once.