Multipurpose sensor warranty?

I think I have a sensor going bad. It started with two nights in a row getting alarms on back door for vibration. Finally I took it down and laid it on a granite countertop and it alarmed a few more times. Changed battery as well. Do these have a warranty? I am sure it is less than a year old.