+1 besides the one time the smoke alarm(not for the whole building) went off. if too much smoke then open the porch door
When cooking in a hotel room, you have to temporarily disable the smoke alarm by covering it with a shower cap.
Some people cook in the bathroom (yuck) - as there is an exhaust fan in there.
Once, hotel locked us out of the room, because the cleaning staff found cooking appliances. -- Make sure to hide them in your suitcase when you leave the room,
and when cooking, hang a do not disturb sign.