There's generally two types of smoke alarms each with pros/cons: photoelectrical which are very susceptible to dust and ionizing which generally are not:
I wouldn't think code dictated the alarm type. (I just replaced all nine sensors in my home due to age and went with all photoelectric this time and it was less than six months before I had my first false alarm. Never had any false alarms with previous ionizing type.)
https://www.nfpa.org/news-blogs-and-articles/blogs/2023/03/0...
I wouldn't think code dictated the alarm type. (I just replaced all nine sensors in my home due to age and went with all photoelectric this time and it was less than six months before I had my first false alarm. Never had any false alarms with previous ionizing type.)