Homey loses connection with devices

You can use this script + flow to check every x hours:

.

Do you happen to have Ikea Tradfri lights: