Rules Fail After Reboot

I created two rules using the PaperUI rules creator. They are simple,(1) if a button on an GPIO pin is pressed, turn on an LED on another pin. (2) When the button is released, turn off the LED.
Everything works fine until I reboot. Then the LED won’t turn on. All I have to do is go back to the rules creator and just open each rule like I would edit it but close it without making any changes. After that process both rules work again.

What can I do to keep the rules working after a reboot?

1 Like

I did just as you said. Disabled the rules,
sudo systemctl stop openhab2
sudo systemctl start openhab2 (Three or four times)
Rebooted the Pi and, Bamm, the rules work.
Thank you for the prompt and accurate fix.