Ok i understand. You could do the following:
- create a dummy presence sensor (lets call it: dummyP) , with an auto-reset of 5 seconds
- create rule “when ‘heating switches off’ then set presence of dummyP to present”
- create rule “when ‘heating switches on’ and dummyP is present” then ‘report it’
You can change the 5 seconds to any value, to set the restart-error-window