Most are just mechanical with a electric winder. On back side if its two wires it will be marked + and -.
If digital + and minus come on with key and third wire comes on to log hours. If these are present replace it. If not then trace to find what's missing. Log wire usually comes from ing coil pos. Or if its driven miles the through a diode block from trans position switch. And its possible its for hours on a wheel chair lift.