Did you perhaps transfer from an older Homey to your current Homey Pro 2023, before you updated to the latest firmware? If so, and if you restored a backup, your issue might be similar as mentioned in this post:
You might want to report your issue to Athom, via: Support | Homey.
@Martin_Sla , I do not experience the same behavior . Have your tried a hard reboot? Pull the power cord, and power it up again. A couple of seconds should be enough.
Edit: I forgot that you stated it in your first post. You should report the behavior to Athom.
I put my house in “sleep” mode and rebooted my internet modem. And for now it doesnt reboot.
If I wake up tomorrow and it starts it reboot sequence. I have to go through all my flows to search for flows that has the if/and everyone sleeps card in it.