I’ve always been told to leave it on. For solid state equipment, constant heating/cooling from turning it off and on just causes wear to the electrical components because they expand and contract with heat. If there are moving parts like fans, turn it off when not in use.
I was always warned about wear and tear from expansion and contraction when heating and cooling between power cycles. Is that old school and less of a concern with modern electronics?