All outdoor lighting devices must comply with the provisions of this division, the building code and the electrical code, required permits and inspections, as applicable.