I have found something, which I don't really like.
I have set an action for "Input" (I think like everyone else how uses Apt to dim brightness). But what is not so nice it, that for me this input command is also called if the device turns off automatically because of the timeout (normal AutoOff setting), like after an alert.
This first leads to: Device turns off, device turn on executes macro, device turn off again, after the autooff time. Lucky me, this triggers "input" only once
// on wake set auto off to 12 sec, for faster turn off of the device
wake: apt: Var0: h
& … : autooff: 12
// after an input set autooff to 60 sec.
input(if h=0): apt: var+: h
& … : autooff: 60
to see that add & app: something to input.
Set an system alert or just something which turns on the device. Autooff(12 sec) -> Device off -> device on -> application is launched -> autooff (12 sec).
That the last autooff is after 12 sec is somehow confusing.