If you have the hub I would recommend using it until the issue is fixed. Just follow the github issue. Maybe it won’t be fixed until the zigbee rewrite(?). Don’t have the hub myself, but read that there’s a delay when using the motion sensor though. So there’s no good solution really.