Intent manipulating HomeKit not working - Missing policy

From my iOS app intents extension I'm trying to use HomeKit to alter scenes which were already created through my app. When I call e.g. HMTrigger.enable (documentation) from my Intents extension executed by using a shortcut, I get the following error:

Code Block
Error Domain=HMErrorDomain Code=52 "Unbekannter Fehlercode: HMFErrorDomain : 2." UserInfo={NSLocalizedDescription=Unbekannter Fehlercode: HMFErrorDomain : 2., NSUnderlyingError=0x103c07c60 {Error Domain=HMFErrorDomain Code=2 "Handler does not satisfy filter policy" UserInfo={NSLocalizedDescription=Handler does not satisfy filter policy, NSLocalizedFailureReason=Handler is missing required policy 'HMDXPCBackgroundMessagePolicy'}}}

What is this HMDXPCBackgroundMessagePolicy? And how do I obtain it? What am I doing wrong?

I enabled HomeKit entitlement in my Intents and in my App target. I also tried enabling all background modes for my app, as I thought that could help but with no success. I guess this error pops up regardless of the specific HomeKit API I use, HMTrigger.enable just happens to one occasion. I get the same behavior under 13.6.1 and 14b5.
Did you ever solve this issue? I'm seeing same error come up with trying to access HomeKit from Widgets.
Intent manipulating HomeKit not working - Missing policy
 
 
Q