Staircase timer or staircase switch
An automatic staircase timer is an electromagnetic or electronic time relay which switches on the light by means of a push button and switches off the light automatically after a set time.
The time setting depends on the type and you can reset the set time by pressing the push button again.
In other words, the staircase machine prevents the light from burning in, for example, a staircase, cellar, corridor or garage, or in an attic.
The connection depends on the type of 3 or 4 wires.