I'm trying to figure out how to look for an event state in node red from an inovelli switch. It has multiple buttons depending on how many times you hit up or down and/or hit an extra configuration button. When I look in automations this is the example I get in YAML (this would be four button presses down):
device_id: 651fb79cea0c4254a1006bc95a5fcf62
domain: hubitat
platform: device
type: held
subtype: ‘4’
How do I tell my event state node to look for the type and subtype of held and 4? I really appreciate the help. Thank you