New homes here are required to have at least one smoke detector on each floor, interlinked, and line-powered.

That's in our building regs. though, not electrical.