I have an Intermatic timer with a metal enclosure box.
I've always wondered, Is this up to code?