You’re going to need to change the createEvent call too to comply with the Hubitat implementation of Button devices.
Look here for known differences in the platforms
You’re going to need to change the createEvent call too to comply with the Hubitat implementation of Button devices.
Look here for known differences in the platforms