Remote_homeassistant not working with zwave lock

I have remote homeassistant setup, and it works fine with my hue lights.

I have added a zwave Danalock to the remote site, where it works fine.

On the main site I can see the lock, abd the status is update correctly, but when I press lock/unlock i get an Action lock.lock not found.

Any pointers?

Do you already have existing lock domain on the main instance? If not look at load_components: in the documentation.