Doorbell not always triggering
The G4 doorbell is not always triggering. This is due to the following line:

https://github.com/hjdhjd/homebridge-unifi-protect/blob/3552015940a47ed91216a741183084a9064e813a/src/protect-nvr-events.ts#L212

A payload can contain both a lastMotion and lastRing object. So the "return" needs to be deleted.