Yes, I used to charge much higher rates precisely because I either know how to solve the problem or I'll figure it out on my own time. This protects the client from the technical risk of the solutions I recommend, and that makes sense, because they are not technology experts. By me taking on that risk it forces me to be more careful about what technology choices I make. So I use tools that are battle tested, things that I've use do in production before and I know where the pitfalls are. I don't pick the new shiny thing just because I read 3 blog posts and played with it on the weekends.
When I hire a photographer to take pictures I don't expect to pay the photographer when their camera malfunctions and they are trying to format their SD card. Or if they just bought a new camera and haven't figured out how to adjust the white balance, etc. I don't see why hiring someone to solve problems with technology should be all that different.