(a) A person who is not a licensee may perform or agree to perform a home repair for compensation if:
(1) city licensing of persons engaged in the kind of home repair performed or agreed to be performed is prohibited under state law;
(2) he is an electrical contractor or plumbing contractor licensed or registered under city ordinance, and the kind of home repair performed or agreed to be performed is authorized by the city license or registration; or
(3) he is an employee of the contractor or owner.