Trigger Alexa routine with held Pico button

Looks like I need a little help here. I have a Pico by my front door where the bottom button turns off all my Lutron lights. Now that I have a Hubitat, I'd like to make so that if I hold that button in for an extra second or two it runs my Alexa routine that shuts down absolutely everything.

I created a virtual contact sensor and a routine in the Alexa app that looks for that contact closure, but I'm not getting that far.
When I push that Pico button, Hubitat throws a
java.lang.NullPointerException: Cannot invoke method toInteger() on null object (parse)
so I obviously did something wrong.

Here's how I set up the action:

where goodbye-pico-click is the name of the virtual contact sensor.

Any advice would be appreciated. I seem to have a hard time finding documentation on this site. Thanks...

Use this code to trigger your routine instead.

docs.hubitat.com

Scroll down to the bottom of this page. Thereโ€™s a Documentation set of links for the Wiki, list of compatible devices, and tutorials.