code: function (sensorInfo, options) {
    Actuator.call(this, sensorInfo, options);
  
    if (sensorInfo.device.address) {
      this.gpio = new Gpio(sensorInfo.device.address, 'out');
      logger.info('powerSwitch sensor is created at driver', sensorInfo);
    } else {
      logger.warn('powerSwitch sensor address is not provided');
    }
  }
docs: PowerSwitch constructor