Zone inactive for x minutes doesn't work with variable... How to troubleshoot

Nice idea, I have a question about that, but to not hijack this thread I created a dedicated one.