constHomey=require("homey");classDriverextendsHomey.Driver {onPair(session) {session.setHandler("pincode",async (pincode) => {// The pincode is given as an array of the filled in valuesreturn ( pincode[0] ==="1"&& pincode[1] ==="2"&& pincode[2] ==="3"&& pincode[3] ==="4" ); }); }}module.exports= Driver;