warnUnable to execute hubAction:delay 2000 sent from Vindue badeværelse, invalid or unspecified protocol

Ah, so that is a custom/community driver by Markus. I would update it to the latest version, which you can probably find in the thread you likely originally found them in: [Release] Xiaomi / Aqara / Opple Drivers with Presence!. (Technically, this developer has moved to another forum and you can find a thread there, too, but the links in this one are still up-to-date. If you use Hubitat Package Manager, that will also work.) A recent fix by Markus is known to solve this problem.