Feature Request: Add support for pingsToChange for ping commands
### General idea

I am having issues reliably keeping the HomeKit accessory ON when the device is on. Having a number of `pingsToChange` also work for Ping Commands would be extremely helpful to ensure that the device is actually off before it turns it off.

### Use case

In my case, I have an automation run when a device turns OFF and the HomeKit switch will often turn off even when the device has not turned off. This causes my automation to run when I do not want it to.

In my specific case, I am using this to detect when an Apple TV is awake or asleep. It works great, except for this plugin being overly sensitive to turning the device OFF when it shouldn't be.

This is the command I use to ping the Apple TV for its status. It works perfectly and would love a way to require this to exit 1 three times before it decides that it is actually OFF.

``if [ ‘$(atvremote --id A8:51:AB:93:62:5C --airplay-credentials `cat /home/homebridge/atv_airplay.cred` --companion-credentials `cat /home/homebridge/atv_companion.cred` power_state)’ = ‘PowerState.On’ ]; then exit 0; else exit 1; fi``