Yesterday while cooking I set off the smoke detector, no I did not burn anything. They go off when I cook over a high heat. And yesterday once they started going off they would not stop. I ended up having to disconnect them all (they are hard wired with an interconnect) and I replaced them this morning. Aaaaaaaand let me tell you, I had a sleepless night last night knowing there were no detectors installed.
https://www.southernliving.com/how-often-should-you-replace-smoke-detectors-8774122


Wtf, isn’t it just pressing a button…? Though I guess you avoid the risk of people forgetting.
It’s also required in Sweden, but the building owner is responsible for installation, whereas the people living there are responsible for testing that it still works.
The main goal is probably to have documentation proving it was checked, but the technician is also responsible to fix any issues. I already had one smoke detector replaced because the noise level was a bit below what it should be.