[SOLVED] Contacts operated by sensors that reset after a minute, visible in habpanel

Please How to use code fences.

Watch the logs for errors and to see the Items changing states and receiving commands.

Add logging to the Rule to verify that it’s triggering.