I guess I have to learn this YAML stuff. I’m configuring some zwave js automations for multi-taps on switches. It seems like I shouldn’t have to have separate automations for ON and OFF, for instance, so I wondered if there’s a way to see if a switch has been tapped twice–either ON or OFF–then call the light.turn_on or light.turn_off, depending on which side was tapped?
Below is my current working ON script. Could I somehow make the script accept node 11, property_key 001 or property_key 002 having the value ‘KeyPressed2X’? Then, if it’s property_key 001 call light.turn_on, or if it’s 002 call light.turn_off?
As always, sorry if this is stuff I should have learned on Page 1.
Sorry, I misread. Check the property_key in the condition, not the value. You can then also use a template in the service call to select turn_on or turn_off.
Hm, I’m not sure, actually. I mean, there’s just a rocker switch with up, down, and the possibility of holding up or down for dimming. It looks like property_key is always either 001 or 002, though…