I assume you had the unit off when you drained it. And I assume you filled the hot water tank before lighting up again. I find my tank won’t fill unless I have a hot water faucet open.
Since both power sources are no-joy I would look at a thermostat as a potential problem.
There are 4 push-on spade connections under the TandP valve. Turn the unit off the pull each connector off the put it back on to make sure they aren’t cause issues from corrosion. Wiggle them as you put them back on.
__________________
|