v6.5 lastMotion and lastContact for motion/contact sensors
collect the last motion and last contact values from motion and contact sensors. If a motion or contact was missed the ESP32 will publish a backup MQTT message if within X seconds defined by the missedDataResend value