I understand your use case now ...
You can experiment with enabling/disabling the device from an RM5 rule :