I was not successful in using the above solution to monitor event zwave_js_value_notification to get double taps to work despite having the same switches and seeing the same data in ‘silly’ logging as the OP. I did even import the node-red script provided by @e_jp but the events node didn’t import. I suspect maybe somthing has changed in home assistant since 2021.
What worked for me was to create an events:state node in node red with the entity event.<entity name here>_event_value
. Node red will auto-complete this for you when you start typing and there is one for each one of these switches that I have. Then I created a switch node and switched on data.new_state.attributes.value with up being a number value of 255 and down being 0. The node red export for this is below. Hope it helps someone.
[
{
"id": "7c16039b3a06632f",
"type": "api-call-service",
"z": "74448d5550379ac2",
"name": "kitchen can lights off",
"server": "48db2cad.a7e544",
"version": 5,
"debugenabled": false,
"domain": "light",
"service": "turn_off",
"areaId": [],
"deviceId": [],
"entityId": [
"light.kitchen_can_lights_5"
],
"data": "",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 740,
"y": 480,
"wires": [
[]
]
},
{
"id": "fb9f37014ce0548b",
"type": "api-call-service",
"z": "74448d5550379ac2",
"name": "kitchen can lights on",
"server": "48db2cad.a7e544",
"version": 5,
"debugenabled": true,
"domain": "light",
"service": "turn_on",
"areaId": [],
"deviceId": [],
"entityId": [
"light.kitchen_can_lights_5"
],
"data": "",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 740,
"y": 420,
"wires": [
[]
]
},
{
"id": "3d348dabde9dd568",
"type": "switch",
"z": "74448d5550379ac2",
"name": "dbl tap up or down",
"property": "data.new_state.attributes.value",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "255",
"vt": "num"
},
{
"t": "eq",
"v": "0",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 370,
"y": 920,
"wires": [
[
"cd87b6e24bf3b2e4",
"fb9f37014ce0548b"
],
[
"2a0403ae6df21497",
"7c16039b3a06632f"
]
]
},
{
"id": "6fdf36ced2180e0f",
"type": "server-state-changed",
"z": "74448d5550379ac2",
"name": "kitchen can dbl tap",
"server": "48db2cad.a7e544",
"version": 5,
"outputs": 1,
"exposeAsEntityConfig": "",
"entityId": "event.kitchen_can_lights_event_value",
"entityIdType": "exact",
"outputInitially": false,
"stateType": "str",
"ifState": "",
"ifStateType": "str",
"ifStateOperator": "is",
"outputOnlyOnStateChange": true,
"for": "0",
"forType": "num",
"forUnits": "minutes",
"ignorePrevStateNull": false,
"ignorePrevStateUnknown": false,
"ignorePrevStateUnavailable": false,
"ignoreCurrentStateUnknown": false,
"ignoreCurrentStateUnavailable": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "eventData"
},
{
"property": "topic",
"propertyType": "msg",
"value": "",
"valueType": "triggerId"
}
],
"x": 150,
"y": 920,
"wires": [
[
"3d348dabde9dd568"
]
]
},
{
"id": "48db2cad.a7e544",
"type": "server",
"name": "Home Assistant",
"version": 5,
"addon": true,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": 30,
"areaSelector": "friendlyName",
"deviceSelector": "friendlyName",
"entitySelector": "friendlyName",
"statusSeparator": "at: ",
"statusYear": "hidden",
"statusMonth": "short",
"statusDay": "numeric",
"statusHourCycle": "h23",
"statusTimeFormat": "h:m",
"enableGlobalContextStore": true
}
]