openHAB and local control

It’s easier to read if you How to use code fences. But it looks like a reasonable approach except for one small thing. In your first Rule, you should first cancel the timer before setting it to null. Without canceling it the timer still exists in the background and will still trigger.