via Home Assistant you can use a service call to enable/disable the relay as well, here’s an example:
- service: zwave_js.set_value
target:
entity_id:
- switch.loft_lights_switch
data:
command_class: 117
endpoint: 0
property: local
value: 1 # Disable local control