sonos.getCurrentState().then(state => {
  console.log('Got current state %j', state)
}).catch(err => { console.log('Error occurred %j', err) })