Nothing contained in this article prevents cities and counties from regulating carnivals, fairs or amusement rides and amusement attractions with regard to any aspect not relating to installation, repair, maintenance, use, operation and inspection of amusement rides and amusement attractions.