Measuring the time a lamp is switched on

I don’t have direct ideas, but for that purpose counting turn-on events would be interesting too. Bound to involve persistence service, if you do not yet have one/some.

And you’d want individual ‘reset’ buttons for hourmeter/counter ?

Example hourmeter