Pressing the button automatically rings the doorbell and that’s in the hardware so I can’t prevent it, but if you set the doorbell track to something that doesn’t have a corresponding mp3 file, it will just light up instead of making a sound.
As long as you use a delay in Rule Machine long enough for the light to go out, you can play a different track when the button is pushed.
A wife wants the normal doorbell sound (track 2), but the husband wants it to tell a joke (track 10). The husband could use Rule Machine to setup a push button trigger for the doorbell that uses the wife’s presence as a condition, and has a 3 second delayed action that executes the custom command playTrack(2) for true and playTrack(10) for false.
A better example would be flashing the lights instead of playing a track when the nursery door is closed to prevent the doorbell from waking the baby.
I just officially released version 1.5 which as a few additional changes that the version you installed does not.