Triggering Z-Wave Rollershutter with amazon dash

Hi,

I try to trigger all Rollershutters with one amazon dash button depending on the status of one rollershutter.

e.g. if the rollershutter is open and I trigger the button I want all rollershutters to close.

unfortunately nothing happens …

rule "Dash button pressed"
    when
        Channel "amazondashbutton:dashbutton:ac-63-xx-xx-xx-xx:press" triggered
    then
        if(zwave_device_73dxxxx_node5_blinds_control = 0) 
        {
    		zwave_device_73dxxxx_node5_blinds_control.sendCommand(100)
  	        zwave_device_73dxxxx_node6_blinds_control.sendCommand(100)
        }
       
        if(zwave_device_73dxxxx_node5_blinds_control = 100) 
        {
    		zwave_device_73dxxxx_node5_blinds_control.sendCommand(0)
  	        zwave_device_73dxxxx_node6_blinds_control.sendCommand(0)
        }
       
end

= 0 needs to be == 0 and
= 100 needs to be == 100

Edit: and I guess you need the state of the device, so try

if(zwave_device_73dxxxx_node5_blinds_control.state == 0)

if(zwave_device_73dxxxx_node5_blinds_control.state == 100)

Thanks!!!

it works!