auto repair shops

Does California state law say that if a mechanic misdiagnoses the problem on a car and fixes the wrong component, that mechanic or
autoshop can not legaly bill you for the ill informed repair?
For example, mistakenly fixing something that doesn't need to be fixed with the end result being that there is still the same problem with the car?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.