GladysProject/Gladys

View on GitHub
server/services/sonos/lib/sonos.init.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * @description This will init the Sonos library.
 * @example sonos.init();
 */
async function init() {
  const { SonosManager } = this.sonosLib;
  this.manager = new SonosManager();
  await this.scan();
}

module.exports = {
  init,
};