heat pump won't stay on because the thermostat keeps turning itself off,
ostensibly to charge, but turns on after only a minute or less, turns on
the heat, then the thermostat turns itself off and the heat goes off.
This has happened repeatedly this ...