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...