How to stop a warning

A have a garden shed which I often forget to lock for the night , therefore a door contact was installed and this smal Basic rule build.

For explanation

Skur dør = shed door
Lene Ullum = wife
Henrik Ullum= me
Åbent = Open

When Skur Dør opens and stays open for 30 minutes ...
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 1'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 2'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 3'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 4'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 5'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 7'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 8'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 9'
Wait 60 minutes
Notify Henrik Ullums 13, Iphone Lene Ullum 'Skuret er åbent 10'

and bla bla bla

It works ok for a start, but I want it to stop notifying us when the door is closed.

so I thought that this would be the solution, a perfect mirror of the door contact, builded as a virtual switch was implemented here


But however, if I use the mirror switch as off or on switch the rule will not run.
Any ideas to stop spamming our phones, at least when I get out of my chair an locks up the shed?

Sorry for the late answer, several reasons, but I got it working, thanks

2 Likes