How to build feature "autom. switch off" in automation?

Hi !

In earlier releases a “Sensorsteuerung” (sensor control) was available, which could be trigged by pushing a light switch. It was possible to create a “autom. switch off” e.g. for lights on stairs or corridor (see Manual).

How to build this with “automation” ? The feature “sensors” isn’t available since the upgrade to 2.33.02.

Greetings

Michael