Annoying Power issues!!

I had the same thing happen to me. Just driving one night and lost my lights and then back on again. My dimmer switch was hot and my ing switch too.
so I changed booth out and to this day I don't know witch one it was.