I finally got it working by adding a repeater. The thing is, with Smartthings, it worked perfectly without a repeater.
I saw a posting where the z-wave radio range of Hubitat was compared to Smartthings:
z-wave radio range
The post suggests that the z-wave radio range of Smartthings is greater than that of Hubitat. That's my (limited) experience, too.