I've spent several hours trying to make this work to no avail. I can see an MQTT message coming into the HA broker, but the &TYPE is ONVIF. I've tried hardcoding it to MOTION and EXTERNAL as I've seen referenced but that doesn't do anything.
At this point, I don't know where to go or what...