docs: function listDevices() {
      return getDevice()
      .then(device => {
          console.log(`Device: ${device.id}`);
          return device.listResources();
      })
      .then(resources => {
          resources.forEach(resource => {
              resource.getValue()
              .then(value => {
                  console.log(`\t└\x1b[1m${resource.path}\x1b[0m: ${value}`);
              })
              .catch(error => {
                  console.log(`\t└\x1b[1m${resource.path}\x1b[0m: Error: ${error.message}`);
              });
          });
      });
  }