The below instructions will help you to replace the cover on your sensor to address the tamper error.
You will also need to clear the error from the panel memory. Once the cover has been replaced, see instructions for IQ Panel 2 - System Sensor Status.
Qolsys QS5515-840 IQ TEMP Temperature Sensor & Qolsys QS5535-840 IQ TEMP Encrypted Temperature Sensor:
Align the cover over the sensor and press together, ensuring the top tab locks into place, to replace the cover.